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
2b04973e
Commit
2b04973e
authored
Dec 03, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed tests on older IEs.
parent
b8a087d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
dom.c
dlls/mshtml/tests/dom.c
+8
-2
No files found.
dlls/mshtml/tests/dom.c
View file @
2b04973e
...
...
@@ -501,7 +501,7 @@ static BOOL _test_get_dispid(unsigned line, IUnknown *unk, IID *iid)
HRESULT
hres
;
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
,
"Could not get IDispatch: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
,
"Could not get IDispatch
Ex
: %08x
\n
"
,
hres
);
if
(
FAILED
(
hres
))
return
FALSE
;
...
...
@@ -3050,6 +3050,7 @@ static void test_navigator(IHTMLDocument2 *doc)
static
void
test_screen
(
IHTMLWindow2
*
window
)
{
IHTMLScreen
*
screen
,
*
screen2
;
IDispatchEx
*
dispex
;
LONG
l
,
exl
;
HDC
hdc
;
HRESULT
hres
;
...
...
@@ -3068,7 +3069,12 @@ static void test_screen(IHTMLWindow2 *window)
ok
(
iface_cmp
((
IUnknown
*
)
screen2
,
(
IUnknown
*
)
screen
),
"screen2 != screen
\n
"
);
IHTMLScreen_Release
(
screen2
);
test_disp
((
IUnknown
*
)
screen
,
&
DIID_DispHTMLScreen
,
"[object]"
);
hres
=
IHTMLScreen_QueryInterface
(
screen
,
&
IID_IDispatchEx
,
(
void
**
)
&
dispex
);
ok
(
hres
==
S_OK
||
broken
(
hres
==
E_NOINTERFACE
),
"Could not get IDispatchEx interface: %08x
\n
"
,
hres
);
if
(
SUCCEEDED
(
hres
))
{
test_disp
((
IUnknown
*
)
screen
,
&
DIID_DispHTMLScreen
,
"[object]"
);
IDispatchEx_Release
(
dispex
);
}
hdc
=
CreateICW
(
displayW
,
NULL
,
NULL
,
NULL
);
...
...
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