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
7377dfbb
Commit
7377dfbb
authored
Nov 16, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed some htmldoc.c tests on IE9.
parent
abd0f431
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
10 deletions
+19
-10
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+19
-10
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
7377dfbb
...
...
@@ -927,7 +927,13 @@ static IPropertyNotifySink PropertyNotifySink = { &PropertyNotifySinkVtbl };
static
HRESULT
WINAPI
Stream_QueryInterface
(
IStream
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
ok
(
0
,
"unexpected call
\n
"
);
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_ISequentialStream
,
riid
)
||
IsEqualGUID
(
&
IID_IStream
,
riid
))
{
*
ppv
=
iface
;
return
S_OK
;
}
ok
(
0
,
"unexpected call %s
\n
"
,
debugstr_guid
(
riid
));
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
}
...
...
@@ -1318,7 +1324,7 @@ static HRESULT WINAPI Moniker_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMon
hres
=
IBindStatusCallback_GetBindInfo
(
callback
,
&
bindf
,
&
bindinfo
);
ok
(
hres
==
S_OK
,
"GetBindInfo failed: %08x
\n
"
,
hres
);
ok
(
bindf
==
(
BINDF_PULLDATA
|
BINDF_ASYNCSTORAGE
|
BINDF_ASYNCHRONOUS
),
"bindf = %08x
\n
"
,
bindf
);
ok
(
(
bindf
&
~
BINDF_HYPERLINK
/* IE9 */
)
==
(
BINDF_PULLDATA
|
BINDF_ASYNCSTORAGE
|
BINDF_ASYNCHRONOUS
),
"bindf = %08x
\n
"
,
bindf
);
ok
(
bindinfo
.
cbSize
==
sizeof
(
bindinfo
),
"bindinfo.cbSize=%d
\n
"
,
bindinfo
.
cbSize
);
ok
(
bindinfo
.
szExtraInfo
==
NULL
,
"bindinfo.szExtraInfo=%p
\n
"
,
bindinfo
.
szExtraInfo
);
/* TODO: test stgmedData */
...
...
@@ -2687,6 +2693,7 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
test_readyState
(
NULL
);
return
S_OK
;
case
OLECMDID_UPDATETRAVELENTRY_DATARECOVERY
:
case
6058
:
return
E_FAIL
;
/* FIXME */
default:
ok
(
0
,
"unexpected command %d
\n
"
,
nCmdID
);
...
...
@@ -3668,6 +3675,12 @@ static HRESULT WINAPI WebBrowser_QueryInterface(IWebBrowser2 *iface, REFIID riid
{
*
ppv
=
NULL
;
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_IWebBrowser
,
riid
)
||
IsEqualGUID
(
&
IID_IWebBrowserApp
,
riid
)
||
IsEqualGUID
(
&
IID_IWebBrowser2
,
riid
))
{
*
ppv
=
iface
;
return
S_OK
;
}
if
(
IsEqualGUID
(
riid
,
&
IID_IOleObject
))
return
E_NOINTERFACE
;
/* TODO */
...
...
@@ -4513,8 +4526,6 @@ static void _test_readyState(unsigned line, IUnknown *unk)
hres
=
IHTMLDocument2_get_readyState
(
htmldoc
,
&
state
);
ok
(
hres
==
S_OK
,
"get_ReadyState failed: %08x
\n
"
,
hres
);
trace
(
"STATE %s
\n
"
,
wine_dbgstr_w
(
state
));
if
(
!
strcmp_wa
(
state
,
"interactive"
)
&&
load_state
==
LD_LOADING
)
load_state
=
LD_INTERACTIVE
;
...
...
@@ -4557,8 +4568,6 @@ static void _test_readyState(unsigned line, IUnknown *unk)
ok_
(
__FILE__
,
line
)
(
V_VT
(
&
out
)
==
VT_I4
,
"V_VT(out)=%d
\n
"
,
V_VT
(
&
out
));
ok_
(
__FILE__
,
line
)
(
V_I4
(
&
out
)
==
load_state
%
5
,
"VT_I4(out)=%d, expected %d
\n
"
,
V_I4
(
&
out
),
load_state
%
5
);
trace
(
"READY STATE %d
\n
"
,
V_I4
(
&
out
));
test_doscroll
((
IUnknown
*
)
htmldoc
);
IHTMLDocument2_Release
(
htmldoc
);
...
...
@@ -4722,7 +4731,7 @@ static void test_Load(IPersistMoniker *persist, IMoniker *mon)
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Invoke_AMBIENT_USERAGENT
);
C
HECK_CALLED
(
Invoke_AMBIENT_PALETTE
);
C
LEAR_CALLED
(
Invoke_AMBIENT_PALETTE
);
/* not called on IE9 */
CHECK_CALLED
(
GetOptionKeyPath
);
CHECK_CALLED
(
GetOverrideKeyPath
);
CHECK_CALLED
(
GetWindow
);
...
...
@@ -5705,7 +5714,7 @@ static void test_ClientSite(IOleObject *oleobj, DWORD flags)
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_USERAGENT
);
C
HECK_CALLED
(
Invoke_AMBIENT_PALETTE
);
C
LEAR_CALLED
(
Invoke_AMBIENT_PALETTE
);
/* not called on IE9 */
todo_wine
CHECK_CALLED
(
GetTravelLog
);
set_clientsite
=
TRUE
;
...
...
@@ -5761,7 +5770,7 @@ static void test_OnAmbientPropertyChange(IHTMLDocument2 *doc)
SET_EXPECT
(
Invoke_AMBIENT_PALETTE
);
hres
=
IOleControl_OnAmbientPropertyChange
(
control
,
DISPID_AMBIENT_PALETTE
);
ok
(
hres
==
S_OK
,
"OnAmbientChange failed: %08x
\n
"
,
hres
);
C
HECK_CALLED
(
Invoke_AMBIENT_PALETTE
);
C
LEAR_CALLED
(
Invoke_AMBIENT_PALETTE
);
/* not called on IE9 */
IOleControl_Release
(
control
);
}
...
...
@@ -6857,7 +6866,7 @@ static void test_UIActivate(BOOL do_load, BOOL use_ipsex, BOOL use_ipsw)
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Invoke_AMBIENT_USERAGENT
);
C
HECK_CALLED
(
Invoke_AMBIENT_PALETTE
);
C
LEAR_CALLED
(
Invoke_AMBIENT_PALETTE
);
/* not called on IE9 */
CHECK_CALLED
(
GetOptionKeyPath
);
CHECK_CALLED
(
GetOverrideKeyPath
);
CHECK_CALLED
(
GetWindow
);
...
...
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