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
f1a543d5
Commit
f1a543d5
authored
Dec 06, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added test for setting VT_EMPTY event handler.
parent
f3d80586
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
htmlevent.c
dlls/mshtml/htmlevent.c
+1
-0
events.c
dlls/mshtml/tests/events.c
+4
-0
No files found.
dlls/mshtml/htmlevent.c
View file @
f1a543d5
...
...
@@ -1065,6 +1065,7 @@ HRESULT set_event_handler(event_target_t **event_target, HTMLDocumentNode *doc,
default:
FIXME
(
"not supported vt=%d
\n
"
,
V_VT
(
var
));
case
VT_EMPTY
:
return
E_NOTIMPL
;
}
...
...
dlls/mshtml/tests/events.c
View file @
f1a543d5
...
...
@@ -1082,6 +1082,10 @@ static void test_onclick(IHTMLDocument2 *doc)
ok
(
hres
==
S_OK
,
"get_onclick failed: %08x
\n
"
,
hres
);
ok
(
V_VT
(
&
v
)
==
VT_NULL
,
"V_VT(onclick) = %d
\n
"
,
V_VT
(
&
v
));
V_VT
(
&
v
)
=
VT_EMPTY
;
hres
=
IHTMLElement_put_onclick
(
div
,
v
);
ok
(
hres
==
E_NOTIMPL
,
"put_onclick failed: %08x
\n
"
,
hres
);
V_VT
(
&
v
)
=
VT_DISPATCH
;
V_DISPATCH
(
&
v
)
=
(
IDispatch
*
)
&
div_onclick_obj
;
hres
=
IHTMLElement_put_onclick
(
div
,
v
);
...
...
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