Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6fc59772
Commit
6fc59772
authored
Nov 13, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Properly handle errors in IHTMLStyleSheet::get_rules now that Gecko part is fixed.
parent
c68e8243
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
htmlstylesheet.c
dlls/mshtml/htmlstylesheet.c
+4
-4
No files found.
dlls/mshtml/htmlstylesheet.c
View file @
6fc59772
...
...
@@ -649,11 +649,11 @@ static HRESULT WINAPI HTMLStyleSheet_get_rules(IHTMLStyleSheet *iface,
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
/* Gecko has buggy security checks and GetCssRules will fail. We have a correct
* implementation and it will work when the bug will be fixed in Gecko. */
nsres
=
nsIDOMCSSStyleSheet_GetCssRules
(
This
->
nsstylesheet
,
&
nslist
);
if
(
NS_FAILED
(
nsres
))
WARN
(
"GetCssRules failed: %08x
\n
"
,
nsres
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetCssRules failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
p
=
HTMLStyleSheetRulesCollection_Create
(
nslist
);
return
S_OK
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment