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
11a6bfc6
Commit
11a6bfc6
authored
Dec 21, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLWindow::get_clientInformation implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
43bd40bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
htmlwindow.c
dlls/mshtml/htmlwindow.c
+4
-2
dom.c
dlls/mshtml/tests/dom.c
+7
-2
No files found.
dlls/mshtml/htmlwindow.c
View file @
11a6bfc6
...
...
@@ -1349,8 +1349,10 @@ static HRESULT WINAPI HTMLWindow2_scroll(IHTMLWindow2 *iface, LONG x, LONG y)
static
HRESULT
WINAPI
HTMLWindow2_get_clientInformation
(
IHTMLWindow2
*
iface
,
IOmNavigator
**
p
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
IHTMLWindow2_get_navigator
(
&
This
->
IHTMLWindow2_iface
,
p
);
}
static
HRESULT
WINAPI
HTMLWindow2_setInterval
(
IHTMLWindow2
*
iface
,
BSTR
expression
,
...
...
dlls/mshtml/tests/dom.c
View file @
11a6bfc6
...
...
@@ -5965,11 +5965,16 @@ static void test_navigator(IHTMLDocument2 *doc)
hres
=
IHTMLWindow2_get_navigator
(
window
,
&
navigator2
);
ok
(
hres
==
S_OK
,
"get_navigator failed: %08x
\n
"
,
hres
);
ok
(
navigator
!=
navigator2
,
"navigator2 != navihgator
\n
"
);
ok
(
navigator
!=
navigator2
,
"navigator2 != navigator
\n
"
);
IOmNavigator_Release
(
navigator2
);
IHTMLWindow2_Release
(
window
);
hres
=
IHTMLWindow2_get_clientInformation
(
window
,
&
navigator2
);
ok
(
hres
==
S_OK
,
"get_clientInformation failed: %08x
\n
"
,
hres
);
todo_wine
ok
(
iface_cmp
((
IUnknown
*
)
navigator
,
(
IUnknown
*
)
navigator2
),
"navigator2 != navigator
\n
"
);
IOmNavigator_Release
(
navigator2
);
IHTMLWindow2_Release
(
window
);
hres
=
IOmNavigator_get_appCodeName
(
navigator
,
&
bstr
);
ok
(
hres
==
S_OK
,
"get_appCodeName failed: %08x
\n
"
,
hres
);
ok
(
!
strcmp_wa
(
bstr
,
"Mozilla"
),
"Unexpected appCodeName %s
\n
"
,
wine_dbgstr_w
(
bstr
));
...
...
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