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
8e71096f
Commit
8e71096f
authored
Apr 10, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added better IHTMLWindow2::get_opener stub.
parent
272535b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+5
-2
dom.c
dlls/mshtml/tests/dom.c
+6
-0
No files found.
dlls/mshtml/htmlwindow.c
View file @
8e71096f
...
...
@@ -711,8 +711,11 @@ static HRESULT WINAPI HTMLWindow2_put_opener(IHTMLWindow2 *iface, VARIANT v)
static
HRESULT
WINAPI
HTMLWindow2_get_opener
(
IHTMLWindow2
*
iface
,
VARIANT
*
p
)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
FIXME
(
"(%p)->(%p) returning empty
\n
"
,
This
,
p
);
V_VT
(
p
)
=
VT_EMPTY
;
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLWindow2_get_navigator
(
IHTMLWindow2
*
iface
,
IOmNavigator
**
p
)
...
...
dlls/mshtml/tests/dom.c
View file @
8e71096f
...
...
@@ -4483,6 +4483,7 @@ static void test_window(IHTMLDocument2 *doc)
IHTMLDocument2
*
doc2
=
NULL
;
IDispatch
*
disp
;
IUnknown
*
unk
;
VARIANT
v
;
BSTR
str
;
HRESULT
hres
;
...
...
@@ -4545,6 +4546,11 @@ static void test_window(IHTMLDocument2 *doc)
!
strcmp_wa
(
str
,
"[object Window]"
)
/* win7 ie9 */
,
"toString returned %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
V_VT
(
&
v
)
=
VT_ERROR
;
hres
=
IHTMLWindow2_get_opener
(
window
,
&
v
);
ok
(
hres
==
S_OK
,
"get_opener failed: %08x
\n
"
,
hres
);
ok
(
V_VT
(
&
v
)
==
VT_EMPTY
,
"V_VT(opener) = %d
\n
"
,
V_VT
(
&
v
));
test_window_name
(
window
,
NULL
);
set_window_name
(
window
,
"test"
);
test_window_length
(
window
,
0
);
...
...
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