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
1f197f75
Commit
1f197f75
authored
Nov 17, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed remaining IE9 failures.
parent
3cf749a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+22
-7
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
1f197f75
...
...
@@ -1290,7 +1290,7 @@ static void continue_binding(IBindStatusCallback *callback)
SET_EXPECT
(
GetBindResult
);
hres
=
IBindStatusCallback_OnStopBinding
(
callback
,
S_OK
,
NULL
);
ok
(
hres
==
S_OK
,
"OnStopBinding failed: %08x
\n
"
,
hres
);
SET
_CALLED
(
GetBindResult
);
/* IE7 */
CLEAR
_CALLED
(
GetBindResult
);
/* IE7 */
IBindStatusCallback_Release
(
callback
);
}
...
...
@@ -2792,6 +2792,10 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
return
E_NOTIMPL
;
case
143
:
/* TODO */
case
144
:
/* TODO */
return
E_NOTIMPL
;
default:
ok
(
0
,
"unexpected command %d
\n
"
,
nCmdID
);
return
E_FAIL
;
...
...
@@ -2886,6 +2890,8 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
ok
(
pvaIn
==
NULL
,
"pvaIn != NULL
\n
"
);
ok
(
pvaOut
!=
NULL
,
"pvaOut == NULL
\n
"
);
return
E_NOTIMPL
;
case
109
:
/* TODO */
return
E_NOTIMPL
;
default:
ok
(
0
,
"unexpected cmd %d of CGID_Explorer
\n
"
,
nCmdID
);
}
...
...
@@ -3667,7 +3673,6 @@ static HRESULT browserservice_qi(REFIID riid, void **ppv)
}
*
ppv
=
NULL
;
trace
(
"BrowserService QI %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
}
...
...
@@ -4732,7 +4737,7 @@ static void test_Load(IPersistMoniker *persist, IMoniker *mon)
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Invoke_AMBIENT_USERAGENT
);
CLEAR_CALLED
(
Invoke_AMBIENT_PALETTE
);
/* not called on IE9 */
C
HECK_CALLED
(
GetOptionKeyPath
);
C
LEAR_CALLED
(
GetOptionKeyPath
);
/* not called on some IE9 */
CHECK_CALLED
(
GetOverrideKeyPath
);
CHECK_CALLED
(
GetWindow
);
CHECK_CALLED
(
Exec_DOCCANNAVIGATE
);
...
...
@@ -4752,7 +4757,7 @@ static void test_Load(IPersistMoniker *persist, IMoniker *mon)
SET_CALLED
(
Exec_ShellDocView_84
);
if
(
mon
==
&
Moniker
)
CHECK_CALLED
(
BindToStorage
);
SET
_CALLED
(
SetActiveObject
);
/* FIXME */
CLEAR
_CALLED
(
SetActiveObject
);
/* FIXME */
if
(
set_clientsite
)
{
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
...
...
@@ -4826,7 +4831,7 @@ static void test_download(DWORD flags)
SET_EXPECT
(
Frame_EnableModeless_TRUE
);
/* IE7 */
SET_EXPECT
(
EnableModeless_FALSE
);
/* IE7 */
SET_EXPECT
(
Frame_EnableModeless_FALSE
);
/* IE7 */
if
(
nav_url
&&
!
is_js
)
if
(
(
nav_url
&&
!
is_js
)
||
(
flags
&
(
DWL_CSS
|
DWL_HTTP
))
)
SET_EXPECT
(
Exec_ShellDocView_37
);
if
(
flags
&
DWL_HTTP
)
{
SET_EXPECT
(
OnChanged_1012
);
...
...
@@ -4909,6 +4914,8 @@ static void test_download(DWORD flags)
SET_CALLED
(
Frame_EnableModeless_FALSE
);
/* IE7 */
if
(
nav_url
&&
!
is_js
)
todo_wine
CHECK_CALLED
(
Exec_ShellDocView_37
);
else
if
(
flags
&
(
DWL_CSS
|
DWL_HTTP
))
CLEAR_CALLED
(
Exec_ShellDocView_37
);
/* Called by IE9 */
if
(
flags
&
DWL_HTTP
)
{
todo_wine
CHECK_CALLED
(
OnChanged_1012
);
todo_wine
CHECK_CALLED
(
Exec_HTTPEQUIV
);
...
...
@@ -5656,8 +5663,10 @@ static void test_ClientSite(IOleObject *oleobj, DWORD flags)
else
ok
(
!
clientsite
,
"clientsite != NULL
\n
"
);
SET_EXPECT
(
GetOverrideKeyPath
);
hres
=
IOleObject_SetClientSite
(
oleobj
,
NULL
);
ok
(
hres
==
S_OK
,
"SetClientSite failed: %08x
\n
"
,
hres
);
CLEAR_CALLED
(
GetOverrideKeyPath
);
/* IE9 sometimes calls it */
set_clientsite
=
FALSE
;
}
...
...
@@ -5692,6 +5701,7 @@ static void test_ClientSite(IOleObject *oleobj, DWORD flags)
SET_EXPECT
(
Invoke_AMBIENT_SILENT
);
SET_EXPECT
(
Invoke_AMBIENT_USERAGENT
);
SET_EXPECT
(
Invoke_AMBIENT_PALETTE
);
SET_EXPECT
(
GetOverrideKeyPath
);
SET_EXPECT
(
GetTravelLog
);
hres
=
IOleObject_SetClientSite
(
oleobj
,
&
ClientSite
);
...
...
@@ -5700,7 +5710,7 @@ static void test_ClientSite(IOleObject *oleobj, DWORD flags)
if
(
expect_uihandler_iface
)
CHECK_CALLED
(
GetHostInfo
);
if
(
flags
&
CLIENTSITE_EXPECTPATH
)
{
C
HECK_CALLED
(
GetOptionKeyPath
);
C
LEAR_CALLED
(
GetOptionKeyPath
);
/* not called on some IE9 */
CHECK_CALLED
(
GetOverrideKeyPath
);
}
CHECK_CALLED
(
GetWindow
);
...
...
@@ -5715,6 +5725,7 @@ static void test_ClientSite(IOleObject *oleobj, DWORD flags)
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_USERAGENT
);
CLEAR_CALLED
(
Invoke_AMBIENT_PALETTE
);
/* not called on IE9 */
CLEAR_CALLED
(
GetOverrideKeyPath
);
/* Called by IE9 */
todo_wine
CHECK_CALLED
(
GetTravelLog
);
set_clientsite
=
TRUE
;
...
...
@@ -5922,6 +5933,7 @@ static void test_InPlaceDeactivate(IHTMLDocument2 *doc, BOOL expect_call)
return
;
if
(
expect_call
)
{
SET_EXPECT
(
SetStatusText
);
SET_EXPECT
(
OnFocus_FALSE
);
if
(
ipsex
)
SET_EXPECT
(
OnInPlaceDeactivateEx
);
...
...
@@ -5931,6 +5943,7 @@ static void test_InPlaceDeactivate(IHTMLDocument2 *doc, BOOL expect_call)
hres
=
IOleInPlaceObjectWindowless_InPlaceDeactivate
(
windowlessobj
);
ok
(
hres
==
S_OK
,
"InPlaceDeactivate failed: %08x
\n
"
,
hres
);
if
(
expect_call
)
{
CLEAR_CALLED
(
SetStatusText
);
/* Called by IE9 */
CHECK_CALLED
(
OnFocus_FALSE
);
if
(
ipsex
)
CHECK_CALLED
(
OnInPlaceDeactivateEx
);
...
...
@@ -6867,7 +6880,7 @@ static void test_UIActivate(BOOL do_load, BOOL use_ipsex, BOOL use_ipsw)
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Invoke_AMBIENT_USERAGENT
);
CLEAR_CALLED
(
Invoke_AMBIENT_PALETTE
);
/* not called on IE9 */
C
HECK_CALLED
(
GetOptionKeyPath
);
C
LEAR_CALLED
(
GetOptionKeyPath
);
/* not called on some IE9 */
CHECK_CALLED
(
GetOverrideKeyPath
);
CHECK_CALLED
(
GetWindow
);
CHECK_CALLED
(
Exec_DOCCANNAVIGATE
);
...
...
@@ -6945,6 +6958,7 @@ static void test_UIActivate(BOOL do_load, BOOL use_ipsex, BOOL use_ipsw)
ok
(
inplacesite
!=
NULL
,
"inplacesite = NULL
\n
"
);
IOleInPlaceSite_Release
(
inplacesite
);
SET_EXPECT
(
SetStatusText
);
SET_EXPECT
(
OnFocus_FALSE
);
if
(
use_ipsex
)
SET_EXPECT
(
OnInPlaceDeactivateEx
);
...
...
@@ -6953,6 +6967,7 @@ static void test_UIActivate(BOOL do_load, BOOL use_ipsex, BOOL use_ipsw)
test_CloseView
();
CLEAR_CALLED
(
SetStatusText
);
/* Called by IE9 */
CHECK_CALLED
(
OnFocus_FALSE
);
if
(
use_ipsex
)
CHECK_CALLED
(
OnInPlaceDeactivateEx
);
...
...
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