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
03ed7f48
Commit
03ed7f48
authored
Jun 21, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Return success in IHTMLWindow2::moveBy and resizeBy.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
22eab078
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+2
-2
dom.c
dlls/mshtml/tests/dom.c
+6
-0
No files found.
dlls/mshtml/htmlwindow.c
View file @
03ed7f48
...
...
@@ -1461,7 +1461,7 @@ static HRESULT WINAPI HTMLWindow2_moveBy(IHTMLWindow2 *iface, LONG x, LONG y)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
FIXME
(
"(%p)->(%d %d)
\n
"
,
This
,
x
,
y
);
return
E_NOTIMPL
;
return
S_FALSE
;
}
static
HRESULT
WINAPI
HTMLWindow2_resizeTo
(
IHTMLWindow2
*
iface
,
LONG
x
,
LONG
y
)
...
...
@@ -1475,7 +1475,7 @@ static HRESULT WINAPI HTMLWindow2_resizeBy(IHTMLWindow2 *iface, LONG x, LONG y)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
FIXME
(
"(%p)->(%d %d)
\n
"
,
This
,
x
,
y
);
return
E_NOTIMPL
;
return
S_FALSE
;
}
static
HRESULT
WINAPI
HTMLWindow2_get_external
(
IHTMLWindow2
*
iface
,
IDispatch
**
p
)
...
...
dlls/mshtml/tests/dom.c
View file @
03ed7f48
...
...
@@ -6646,6 +6646,12 @@ static void test_window(IHTMLDocument2 *doc)
set_window_status
(
window
,
"Test!"
);
test_history
(
window
);
hres
=
IHTMLWindow2_moveBy
(
window
,
0
,
0
);
ok
(
hres
==
S_FALSE
,
"moveBy failed: %08x
\n
"
,
hres
);
hres
=
IHTMLWindow2_resizeBy
(
window
,
0
,
0
);
ok
(
hres
==
S_FALSE
,
"resizeBy failed: %08x
\n
"
,
hres
);
hres
=
IHTMLWindow2_QueryInterface
(
window
,
&
IID_IHTMLWindow5
,
(
void
**
)
&
window5
);
if
(
SUCCEEDED
(
hres
))
{
ok
(
window5
!=
NULL
,
"window5 == NULL
\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