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
a6908473
Commit
a6908473
authored
Mar 18, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed tests on old IEs and improved results on IE11.
parent
0e802b9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+19
-8
No files found.
dlls/mshtml/tests/htmldoc.c
View file @
a6908473
...
@@ -1211,7 +1211,8 @@ static HRESULT WINAPI Binding_QueryInterface(IBinding *iface, REFIID riid, void
...
@@ -1211,7 +1211,8 @@ static HRESULT WINAPI Binding_QueryInterface(IBinding *iface, REFIID riid, void
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
ok
(
0
,
"unexpected call %s
\n
"
,
wine_dbgstr_guid
(
riid
));
trace
(
"Binding::QI(%s)
\n
"
,
wine_dbgstr_guid
(
riid
));
*
ppv
=
NULL
;
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -2666,13 +2667,15 @@ static HRESULT WINAPI CustomDocHostUIHandler_QueryInterface(IDocHostUIHandler2 *
...
@@ -2666,13 +2667,15 @@ static HRESULT WINAPI CustomDocHostUIHandler_QueryInterface(IDocHostUIHandler2 *
return
S_OK
;
return
S_OK
;
}
}
*
ppv
=
NULL
;
if
(
IsEqualGUID
(
&
IID_IOleCommandTarget
,
riid
))
if
(
IsEqualGUID
(
&
IID_IOleCommandTarget
,
riid
))
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
else
if
(
IsEqualGUID
(
&
IID_IDocHostShowUI
,
riid
))
if
(
IsEqualGUID
(
&
IID_IDocHostShowUI
,
riid
))
return
E_NOINTERFACE
;
/* TODO */
return
E_NOINTERFACE
;
/* TODO */
ok
(
0
,
"unexpected call %s
\n
"
,
wine_dbgstr_guid
(
riid
));
trace
(
"CustomDocHostUIHandler::QI(%s)
\n
"
,
wine_dbgstr_guid
(
riid
));
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -2971,11 +2974,15 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
...
@@ -2971,11 +2974,15 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
return
E_NOTIMPL
;
return
E_NOTIMPL
;
case
83
:
case
102
:
case
134
:
/* TODO */
case
134
:
/* TODO */
case
135
:
case
136
:
/* TODO */
case
136
:
/* TODO */
case
139
:
/* TODO */
case
139
:
/* TODO */
case
143
:
/* TODO */
case
143
:
/* TODO */
case
144
:
/* TODO */
case
144
:
/* TODO */
case
178
:
return
E_NOTIMPL
;
return
E_NOTIMPL
;
default:
default:
...
@@ -3036,7 +3043,7 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
...
@@ -3036,7 +3043,7 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
ok
(
ind
==
0
,
"Lower bound = %d
\n
"
,
ind
);
ok
(
ind
==
0
,
"Lower bound = %d
\n
"
,
ind
);
hres
=
SafeArrayGetUBound
(
sa
,
1
,
&
ind
);
hres
=
SafeArrayGetUBound
(
sa
,
1
,
&
ind
);
ok
(
hres
==
S_OK
,
"SafeArrayGetUBound failed: %x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"SafeArrayGetUBound failed: %x
\n
"
,
hres
);
ok
(
ind
==
7
||
broken
(
ind
==
5
),
"Upper bound = %d
\n
"
,
ind
);
ok
(
ind
==
7
||
ind
==
8
/* IE11 */
||
broken
(
ind
==
5
),
"Upper bound = %d
\n
"
,
ind
);
ind
=
0
;
ind
=
0
;
SafeArrayGetElement
(
sa
,
&
ind
,
&
var
);
SafeArrayGetElement
(
sa
,
&
ind
,
&
var
);
...
@@ -4869,7 +4876,7 @@ static HRESULT WINAPI WebBrowser_put_TheaterMode(IWebBrowser2 *iface, VARIANT_BO
...
@@ -4869,7 +4876,7 @@ static HRESULT WINAPI WebBrowser_put_TheaterMode(IWebBrowser2 *iface, VARIANT_BO
static
HRESULT
WINAPI
WebBrowser_get_AddressBar
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
Value
)
static
HRESULT
WINAPI
WebBrowser_get_AddressBar
(
IWebBrowser2
*
iface
,
VARIANT_BOOL
*
Value
)
{
{
ok
(
0
,
"unexpected call
\n
"
);
trace
(
"get_AddressBar: ignoring
\n
"
);
/* Some old IEs call it */
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -5242,7 +5249,7 @@ static HRESULT QueryInterface(REFIID riid, void **ppv)
...
@@ -5242,7 +5249,7 @@ static HRESULT QueryInterface(REFIID riid, void **ppv)
else
if
(
IsEqualGUID
(
&
IID_IDocHostUIHandlerPriv
,
riid
))
else
if
(
IsEqualGUID
(
&
IID_IDocHostUIHandlerPriv
,
riid
))
return
E_NOINTERFACE
;
/* ? */
return
E_NOINTERFACE
;
/* ? */
else
else
ok
(
0
,
"unexpected riid %s
\n
"
,
wine_dbgstr_guid
(
riid
));
trace
(
"QI(%s)
\n
"
,
wine_dbgstr_guid
(
riid
));
if
(
*
ppv
)
if
(
*
ppv
)
return
S_OK
;
return
S_OK
;
...
@@ -5804,8 +5811,12 @@ static void test_download(DWORD flags)
...
@@ -5804,8 +5811,12 @@ static void test_download(DWORD flags)
CLEAR_CALLED
(
UpdateUI
);
CLEAR_CALLED
(
UpdateUI
);
CLEAR_CALLED
(
Exec_UPDATECOMMANDS
);
CLEAR_CALLED
(
Exec_UPDATECOMMANDS
);
CLEAR_CALLED
(
Exec_SETTITLE
);
CLEAR_CALLED
(
Exec_SETTITLE
);
if
(
flags
&
DWL_EXPECT_HISTUPDATE
)
if
(
flags
&
DWL_EXPECT_HISTUPDATE
)
{
CHECK_CALLED
(
Exec_Explorer_38
);
if
(
flags
&
DWL_FROM_HISTORY
)
CHECK_CALLED_BROKEN
(
Exec_Explorer_38
);
/* Some old IEs don't call it. */
else
CHECK_CALLED
(
Exec_Explorer_38
);
}
todo_wine
CHECK_CALLED_BROKEN
(
UpdateBackForwardState
);
todo_wine
CHECK_CALLED_BROKEN
(
UpdateBackForwardState
);
}
}
if
(
!
is_js
&&
!
is_extern
)
{
if
(
!
is_js
&&
!
is_extern
)
{
...
...
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