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
ef221478
Commit
ef221478
authored
Sep 17, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed tests on IE7.
parent
4e670c1c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
navigate.c
dlls/mshtml/navigate.c
+5
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+6
-0
No files found.
dlls/mshtml/navigate.c
View file @
ef221478
...
@@ -344,6 +344,8 @@ static HRESULT WINAPI BindStatusCallback_OnStopBinding(IBindStatusCallback *ifac
...
@@ -344,6 +344,8 @@ static HRESULT WINAPI BindStatusCallback_OnStopBinding(IBindStatusCallback *ifac
TRACE
(
"(%p)->(%08x %s)
\n
"
,
This
,
hresult
,
debugstr_w
(
szError
));
TRACE
(
"(%p)->(%08x %s)
\n
"
,
This
,
hresult
,
debugstr_w
(
szError
));
/* NOTE: IE7 calls GetBindResult here */
if
(
This
->
binding
)
{
if
(
This
->
binding
)
{
IBinding_Release
(
This
->
binding
);
IBinding_Release
(
This
->
binding
);
This
->
binding
=
NULL
;
This
->
binding
=
NULL
;
...
@@ -687,6 +689,9 @@ HRESULT start_binding(HTMLDocument *doc, BSCallback *bscallback, IBindCtx *bctx)
...
@@ -687,6 +689,9 @@ HRESULT start_binding(HTMLDocument *doc, BSCallback *bscallback, IBindCtx *bctx)
HRESULT
hres
;
HRESULT
hres
;
bscallback
->
doc
=
doc
;
bscallback
->
doc
=
doc
;
/* NOTE: IE7 calls IsSystemMoniker here*/
call_docview_84
(
doc
);
call_docview_84
(
doc
);
if
(
bctx
)
{
if
(
bctx
)
{
...
...
dlls/mshtml/tests/htmldoc.c
View file @
ef221478
...
@@ -1009,8 +1009,10 @@ static HRESULT WINAPI Moniker_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMon
...
@@ -1009,8 +1009,10 @@ static HRESULT WINAPI Moniker_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMon
BINDSTATUS_ENDDOWNLOADDATA
,
NULL
);
BINDSTATUS_ENDDOWNLOADDATA
,
NULL
);
ok
(
hres
==
S_OK
,
"OnProgress(BINDSTATUS_ENDDOWNLOADDATA) failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"OnProgress(BINDSTATUS_ENDDOWNLOADDATA) failed: %08x
\n
"
,
hres
);
SET_EXPECT
(
GetBindResult
);
hres
=
IBindStatusCallback_OnStopBinding
(
callback
,
S_OK
,
NULL
);
hres
=
IBindStatusCallback_OnStopBinding
(
callback
,
S_OK
,
NULL
);
ok
(
hres
==
S_OK
,
"OnStopBinding failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"OnStopBinding failed: %08x
\n
"
,
hres
);
SET_CALLED
(
GetBindResult
);
/* IE7 */
IBindStatusCallback_Release
(
callback
);
IBindStatusCallback_Release
(
callback
);
...
@@ -2637,6 +2639,7 @@ static void test_Load(IPersistMoniker *persist)
...
@@ -2637,6 +2639,7 @@ static void test_Load(IPersistMoniker *persist)
}
}
SET_EXPECT
(
OnChanged_READYSTATE
);
SET_EXPECT
(
OnChanged_READYSTATE
);
SET_EXPECT
(
Exec_ShellDocView_84
);
SET_EXPECT
(
Exec_ShellDocView_84
);
SET_EXPECT
(
IsSystemMoniker
);
SET_EXPECT
(
BindToStorage
);
SET_EXPECT
(
BindToStorage
);
SET_EXPECT
(
SetActiveObject
);
SET_EXPECT
(
SetActiveObject
);
if
(
set_clientsite
)
{
if
(
set_clientsite
)
{
...
@@ -2674,6 +2677,7 @@ static void test_Load(IPersistMoniker *persist)
...
@@ -2674,6 +2677,7 @@ static void test_Load(IPersistMoniker *persist)
container_locked
=
TRUE
;
container_locked
=
TRUE
;
}
}
CHECK_CALLED
(
OnChanged_READYSTATE
);
CHECK_CALLED
(
OnChanged_READYSTATE
);
SET_CALLED
(
IsSystemMoniker
);
/* IE7 */
SET_CALLED
(
Exec_ShellDocView_84
);
SET_CALLED
(
Exec_ShellDocView_84
);
CHECK_CALLED
(
BindToStorage
);
CHECK_CALLED
(
BindToStorage
);
SET_CALLED
(
SetActiveObject
);
/* FIXME */
SET_CALLED
(
SetActiveObject
);
/* FIXME */
...
@@ -3046,6 +3050,7 @@ static void test_exec_editmode(IUnknown *unk, BOOL loaded)
...
@@ -3046,6 +3050,7 @@ static void test_exec_editmode(IUnknown *unk, BOOL loaded)
SET_EXPECT
(
Invoke_AMBIENT_SILENT
);
SET_EXPECT
(
Invoke_AMBIENT_SILENT
);
SET_EXPECT
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
SET_EXPECT
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
SET_EXPECT
(
OnChanged_READYSTATE
);
SET_EXPECT
(
OnChanged_READYSTATE
);
SET_EXPECT
(
IsSystemMoniker
);
SET_EXPECT
(
Exec_ShellDocView_84
);
SET_EXPECT
(
Exec_ShellDocView_84
);
if
(
loaded
)
if
(
loaded
)
SET_EXPECT
(
BindToStorage
);
SET_EXPECT
(
BindToStorage
);
...
@@ -3071,6 +3076,7 @@ static void test_exec_editmode(IUnknown *unk, BOOL loaded)
...
@@ -3071,6 +3076,7 @@ static void test_exec_editmode(IUnknown *unk, BOOL loaded)
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
OnChanged_READYSTATE
);
CHECK_CALLED
(
OnChanged_READYSTATE
);
SET_CALLED
(
IsSystemMoniker
);
/* IE7 */
SET_CALLED
(
Exec_ShellDocView_84
);
SET_CALLED
(
Exec_ShellDocView_84
);
if
(
loaded
)
if
(
loaded
)
CHECK_CALLED
(
BindToStorage
);
CHECK_CALLED
(
BindToStorage
);
...
...
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