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
6e26d8c4
Commit
6e26d8c4
authored
Nov 20, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Skip tests on IE 5.5.
parent
41193de1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
14 deletions
+21
-14
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+21
-14
No files found.
dlls/shdocvw/tests/webbrowser.c
View file @
6e26d8c4
...
...
@@ -2808,10 +2808,7 @@ static void test_WebBrowser(BOOL do_download)
hres
=
CoCreateInstance
(
&
CLSID_WebBrowser
,
NULL
,
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
if
(
FAILED
(
hres
))
{
win_skip
(
"Could not create WebBrowser, probably too old IE
\n
"
);
return
;
}
ok
(
hres
==
S_OK
,
"Creating WebBrowser object failed: %08x
\n
"
,
hres
);
is_downloading
=
FALSE
;
is_first_load
=
TRUE
;
...
...
@@ -2819,14 +2816,6 @@ static void test_WebBrowser(BOOL do_download)
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IWebBrowser2
,
(
void
**
)
&
wb
);
ok
(
hres
==
S_OK
,
"Could not get IWebBrowser2 iface: %08x
\n
"
,
hres
);
hres
=
IWebBrowser2_put_Resizable
(
wb
,
VARIANT_TRUE
);
if
(
hres
==
E_NOTIMPL
)
{
win_skip
(
"put_Resizable returned E_NOTIMPL, assuming IE <6
\n
"
);
IWebBrowser_Release
(
wb
);
IUnknown_Release
(
unk
);
return
;
}
test_QueryInterface
(
unk
);
test_ready_state
(
READYSTATE_UNINITIALIZED
);
test_ClassInfo
(
unk
);
...
...
@@ -2873,16 +2862,34 @@ static void test_WebBrowser(BOOL do_download)
ok
(
ref
==
0
,
"ref=%d, expected 0
\n
"
,
ref
);
}
START_TEST
(
webbrowser
)
static
BOOL
check_ie
(
void
)
{
container_hwnd
=
create_container_window
();
IHTMLDocument5
*
doc
;
HRESULT
hres
;
hres
=
CoCreateInstance
(
&
CLSID_HTMLDocument
,
NULL
,
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
,
&
IID_IHTMLDocument5
,
(
void
**
)
&
doc
);
if
(
FAILED
(
hres
))
return
FALSE
;
IHTMLDocument5_Release
(
doc
);
return
TRUE
;
}
START_TEST
(
webbrowser
)
{
OleInitialize
(
NULL
);
if
(
check_ie
())
{
container_hwnd
=
create_container_window
();
trace
(
"Testing WebBrowser (no download)...
\n
"
);
test_WebBrowser
(
FALSE
);
trace
(
"Testing WebBrowser...
\n
"
);
test_WebBrowser
(
TRUE
);
}
else
{
win_skip
(
"Skipping tests on too old IE
\n
"
);
}
OleUninitialize
();
}
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