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
2609e45c
Commit
2609e45c
authored
Jul 23, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IOmNavigator::get_appCodeName implementation.
parent
e629e049
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
omnavigator.c
dlls/mshtml/omnavigator.c
+7
-2
dom.c
dlls/mshtml/tests/dom.c
+7
-0
No files found.
dlls/mshtml/omnavigator.c
View file @
2609e45c
...
...
@@ -127,8 +127,13 @@ static HRESULT WINAPI OmNavigator_Invoke(IOmNavigator *iface, DISPID dispIdMembe
static
HRESULT
WINAPI
OmNavigator_get_appCodeName
(
IOmNavigator
*
iface
,
BSTR
*
p
)
{
OmNavigator
*
This
=
OMNAVIGATOR_THIS
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
static
const
WCHAR
mozillaW
[]
=
{
'M'
,
'o'
,
'z'
,
'i'
,
'l'
,
'l'
,
'a'
,
0
};
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
*
p
=
SysAllocString
(
mozillaW
);
return
S_OK
;
}
static
HRESULT
WINAPI
OmNavigator_get_appName
(
IOmNavigator
*
iface
,
BSTR
*
p
)
...
...
dlls/mshtml/tests/dom.c
View file @
2609e45c
...
...
@@ -1799,6 +1799,7 @@ static void test_navigator(IHTMLDocument2 *doc)
IHTMLWindow2
*
window
;
IOmNavigator
*
navigator
,
*
navigator2
;
ULONG
ref
;
BSTR
bstr
;
HRESULT
hres
;
hres
=
IHTMLDocument2_get_parentWindow
(
doc
,
&
window
);
...
...
@@ -1815,6 +1816,12 @@ static void test_navigator(IHTMLDocument2 *doc)
IHTMLWindow2_Release
(
window
);
IOmNavigator_Release
(
navigator2
);
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
"
,
dbgstr_w
(
bstr
));
SysFreeString
(
bstr
);
ref
=
IOmNavigator_Release
(
navigator
);
ok
(
!
ref
,
"navigator should be destroyed here
\n
"
);
}
...
...
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