Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1e191e03
Commit
1e191e03
authored
Jul 22, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed tests on IE11.
parent
4a28977f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+20
-10
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
1e191e03
...
...
@@ -978,6 +978,7 @@ static HRESULT WINAPI PropertyNotifySink_OnChanged(IPropertyNotifySink *iface, D
case
3000029
:
case
3000030
:
case
3000031
:
case
3000032
:
/* TODO */
return
S_OK
;
}
...
...
@@ -2855,6 +2856,7 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
test_readyState
(
NULL
);
return
S_OK
;
case
OLECMDID_UPDATETRAVELENTRY_DATARECOVERY
:
case
OLECMDID_PAGEAVAILABLE
:
case
6058
:
return
E_FAIL
;
/* FIXME */
default:
...
...
@@ -2864,7 +2866,7 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
}
if
(
IsEqualGUID
(
&
CGID_ShellDocView
,
pguidCmdGroup
))
{
if
(
nCmdID
!=
63
&&
(
!
is_refresh
||
nCmdID
!=
37
))
if
(
nCmdID
!=
63
&&
nCmdID
!=
178
&&
(
!
is_refresh
||
nCmdID
!=
37
))
test_readyState
(
NULL
);
ok
(
nCmdexecopt
==
0
,
"nCmdexecopts=%08x
\n
"
,
nCmdexecopt
);
...
...
@@ -2976,9 +2978,11 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
case
83
:
case
102
:
case
133
:
case
134
:
/* TODO */
case
135
:
case
136
:
/* TODO */
case
137
:
case
139
:
/* TODO */
case
143
:
/* TODO */
case
144
:
/* TODO */
...
...
@@ -3293,13 +3297,15 @@ static HRESULT WINAPI TravelLog_QueryInterface(ITravelLog *iface, REFIID riid, v
{
static
const
IID
IID_IIETravelLog2
=
{
0xb67cefd2
,
0xe3f1
,
0x478a
,{
0x9b
,
0xfa
,
0xd8
,
0x93
,
0x70
,
0x37
,
0x5e
,
0x94
}};
static
const
IID
IID_unk_travellog
=
{
0x6afc8b7f
,
0xbc17
,
0x4a95
,{
0x90
,
0x2f
,
0x6f
,
0x5c
,
0xb5
,
0x54
,
0xc3
,
0xd8
}};
static
const
IID
IID_unk_travellog2
=
{
0xf6d02767
,
0x9c80
,
0x428d
,{
0xb9
,
0x74
,
0x3f
,
0x17
,
0x29
,
0x45
,
0x3f
,
0xdb
}};
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_ITravelLog
,
riid
))
{
*
ppv
=
iface
;
return
S_OK
;
}
if
(
!
IsEqualGUID
(
&
IID_IIETravelLog2
,
riid
)
&&
!
IsEqualGUID
(
&
IID_unk_travellog
,
riid
))
if
(
!
IsEqualGUID
(
&
IID_IIETravelLog2
,
riid
)
&&
!
IsEqualGUID
(
&
IID_unk_travellog
,
riid
)
&&
!
IsEqualGUID
(
&
IID_unk_travellog2
,
riid
))
ok
(
0
,
"unexpected call %s
\n
"
,
wine_dbgstr_guid
(
riid
));
*
ppv
=
NULL
;
...
...
@@ -3433,7 +3439,7 @@ static HRESULT WINAPI DocObjectService_FireBeforeNavigate2(IDocObjectService *i
ok
(
!
pDispatch
,
"pDispatch = %p
\n
"
,
pDispatch
);
ok
(
!
strcmp_wa
(
lpszUrl
,
nav_url
),
"lpszUrl = %s, expected %s
\n
"
,
wine_dbgstr_w
(
lpszUrl
),
nav_url
);
ok
(
dwFlags
==
0x40
||
!
dwFlags
||
dwFlags
==
0x50
,
"dwFlags = %x
\n
"
,
dwFlags
);
ok
(
dwFlags
==
0x
140
/* IE11*/
||
dwFlags
==
0x
40
||
!
dwFlags
||
dwFlags
==
0x50
,
"dwFlags = %x
\n
"
,
dwFlags
);
ok
(
!
lpszFrameName
,
"lpszFrameName = %s
\n
"
,
wine_dbgstr_w
(
lpszFrameName
));
if
(
!
testing_submit
)
{
ok
(
!
pPostData
,
"pPostData = %p
\n
"
,
pPostData
);
...
...
@@ -5294,7 +5300,7 @@ static void test_doscroll(IUnknown *unk)
switch
(
load_state
)
{
case
LD_DOLOAD
:
case
LD_NO
:
if
(
!
nav_url
)
if
(
!
nav_url
&&
!
editmode
)
ok
(
!
elem
,
"elem != NULL
\n
"
);
default:
break
;
...
...
@@ -5746,6 +5752,8 @@ static void test_download(DWORD flags)
SET_EXPECT
(
NavigateWithBindCtx
);
SET_EXPECT
(
Exec_Explorer_38
);
/* todo_wine */
}
if
(
editmode
||
is_refresh
)
SET_EXPECT
(
Exec_ShellDocView_138
);
expect_status_text
=
(
LPWSTR
)
0xdeadbeef
;
/* TODO */
while
(
!*
b
&&
GetMessageW
(
&
msg
,
NULL
,
0
,
0
))
{
...
...
@@ -5868,6 +5876,8 @@ static void test_download(DWORD flags)
CHECK_CALLED
(
NavigateWithBindCtx
);
todo_wine
CHECK_NOT_CALLED
(
Exec_Explorer_38
);
}
if
(
editmode
||
is_refresh
)
CLEAR_CALLED
(
Exec_ShellDocView_138
);
/* IE11 */
if
(
!
is_extern
)
load_state
=
LD_COMPLETE
;
...
...
@@ -5973,7 +5983,7 @@ static void test_put_href(IHTMLDocument2 *doc, BOOL use_replace, const char *hre
CHECK_CALLED
(
TranslateUrl
);
if
(
support_wbapp
)
{
CHECK_CALLED
(
FireBeforeNavigate2
);
C
HECK_CALLED
(
Exec_ShellDocView_67
);
C
LEAR_CALLED
(
Exec_ShellDocView_67
);
/* Not called by IE11 */
if
(
!
is_hash
)
{
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
...
...
@@ -6039,7 +6049,7 @@ static void test_put_href(IHTMLDocument2 *doc, BOOL use_replace, const char *hre
ok
(
hres
==
S_OK
,
"SuperNavigate failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
TranslateUrl
);
C
HECK_CALLED
(
Exec_ShellDocView_67
);
C
LEAR_CALLED
(
Exec_ShellDocView_67
);
/* Not called by IE11 */
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Exec_ShellDocView_63
);
...
...
@@ -6110,8 +6120,8 @@ static void test_load_history(IHTMLDocument2 *doc)
hres
=
IPersistHistory_LoadHistory
(
per_hist
,
history_stream
,
NULL
);
ok
(
hres
==
S_OK
,
"LoadHistory failed: %08x
\n
"
,
hres
);
C
HECK_CALLED_BROKEN
(
Exec_ShellDocView_138
);
C
HECK_CALLED
(
Exec_ShellDocView_67
);
C
LEAR_CALLED
(
Exec_ShellDocView_138
);
/* Not called by IE11 */
C
LEAR_CALLED
(
Exec_ShellDocView_67
);
/* Not called by IE11 */
CHECK_CALLED
(
FireBeforeNavigate2
);
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
...
...
@@ -7834,11 +7844,11 @@ static void test_submit(void)
CHECK_CALLED
(
TranslateUrl
);
CHECK_CALLED
(
FireBeforeNavigate2
);
C
HECK_CALLED
(
Exec_ShellDocView_67
);
C
LEAR_CALLED
(
Exec_ShellDocView_67
);
/* Not called by IE11 */
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
CHECK_CALLED
(
Exec_ShellDocView_63
);
todo_wine
CHECK_CALLED
(
Exec_ShellDocView_84
);
CLEAR_CALLED
(
Exec_ShellDocView_84
);
/* Not called by IE11 */
CHECK_CALLED
(
CreateInstance
);
CHECK_CALLED
(
Start
);
CHECK_CALLED
(
Protocol_Read
);
...
...
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