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
a4869de7
Commit
a4869de7
authored
Sep 10, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Check if value is function only when it needs to be in invoke_builtin_prop.
parent
156e9442
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
dispex.c
dlls/mshtml/dispex.c
+1
-1
vbtest.html
dlls/mshtml/tests/vbtest.html
+1
-0
No files found.
dlls/mshtml/dispex.c
View file @
a4869de7
...
@@ -979,13 +979,13 @@ static HRESULT invoke_builtin_prop(DispatchEx *This, DISPID id, LCID lcid, WORD
...
@@ -979,13 +979,13 @@ static HRESULT invoke_builtin_prop(DispatchEx *This, DISPID id, LCID lcid, WORD
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
return
hres
;
return
hres
;
if
(
flags
!=
(
DISPATCH_PROPERTYGET
|
DISPATCH_METHOD
))
{
if
(
V_VT
(
&
v
)
!=
VT_DISPATCH
)
{
if
(
V_VT
(
&
v
)
!=
VT_DISPATCH
)
{
FIXME
(
"Not a function %s
\n
"
,
debugstr_variant
(
&
v
));
FIXME
(
"Not a function %s
\n
"
,
debugstr_variant
(
&
v
));
VariantClear
(
&
v
);
VariantClear
(
&
v
);
return
E_FAIL
;
return
E_FAIL
;
}
}
if
(
flags
!=
(
DISPATCH_PROPERTYGET
|
DISPATCH_METHOD
))
{
hres
=
invoke_disp_value
(
This
,
V_DISPATCH
(
&
v
),
lcid
,
flags
,
dp
,
res
,
ei
,
caller
);
hres
=
invoke_disp_value
(
This
,
V_DISPATCH
(
&
v
),
lcid
,
flags
,
dp
,
res
,
ei
,
caller
);
IDispatch_Release
(
V_DISPATCH
(
&
v
));
IDispatch_Release
(
V_DISPATCH
(
&
v
));
}
else
if
(
res
)
{
}
else
if
(
res
)
{
...
...
dlls/mshtml/tests/vbtest.html
View file @
a4869de7
...
@@ -31,6 +31,7 @@ If true then counter = counter+1
...
@@ -31,6 +31,7 @@ If true then counter = counter+1
Sub runTest()
Sub runTest()
Call ok(counter = 6, "counter = " & counter)
Call ok(counter = 6, "counter = " & counter)
Call ok(isNull(document.onkeyup), "document.onkeyup is not null")
Call external.reportSuccess()
Call external.reportSuccess()
End Sub
End Sub
</script>
</script>
...
...
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