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
8c0c09e4
Commit
8c0c09e4
authored
Apr 01, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed builtin getter call with arguments.
parent
08254df3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
dispex.c
dlls/mshtml/dispex.c
+2
-2
jstest.html
dlls/mshtml/tests/jstest.html
+2
-0
No files found.
dlls/mshtml/dispex.c
View file @
8c0c09e4
...
...
@@ -1216,7 +1216,7 @@ static HRESULT invoke_builtin_prop(DispatchEx *This, DISPID id, LCID lcid, WORD
if
(
FAILED
(
hres
))
return
hres
;
if
(
flags
!=
(
DISPATCH_PROPERTYGET
|
DISPATCH_METHOD
))
{
if
(
flags
!=
(
DISPATCH_PROPERTYGET
|
DISPATCH_METHOD
)
||
dp
->
cArgs
)
{
if
(
V_VT
(
&
v
)
!=
VT_DISPATCH
)
{
FIXME
(
"Not a function %s
\n
"
,
debugstr_variant
(
&
v
));
VariantClear
(
&
v
);
...
...
@@ -1228,7 +1228,7 @@ static HRESULT invoke_builtin_prop(DispatchEx *This, DISPID id, LCID lcid, WORD
}
else
if
(
res
)
{
*
res
=
v
;
}
else
{
IDispatch_Release
(
V_DISPATCH
(
&
v
)
);
VariantClear
(
&
v
);
}
}
}
...
...
dlls/mshtml/tests/jstest.html
View file @
8c0c09e4
...
...
@@ -137,6 +137,8 @@ function test_getter_call() {
e
.
onmousedown
=
function
(
x
)
{
this
.
onmousedown_called
=
x
;
};
e
.
onmousedown
(
"test"
);
ok
(
e
.
onmousedown_called
===
"test"
,
"e.onmousedown_called = "
+
e
.
onmousedown_called
);
ok
(
document
.
all
(
"divid"
).
tagName
===
"DIV"
,
"document.all('divid').tagName = "
+
document
.
all
(
"divid"
).
tagName
);
}
function
test_arg_conv
()
{
...
...
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