mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
mshtml: Expose the IHTMLEventObj5 props to scripts.
It's mostly implemented, and issession isn't even exposed. Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
ae0e5ee901
commit
330d8cd998
3 changed files with 8 additions and 1 deletions
|
@ -2065,6 +2065,7 @@ static const dispex_static_data_vtbl_t HTMLEventObj_dispex_vtbl = {
|
|||
};
|
||||
|
||||
static const tid_t HTMLEventObj_iface_tids[] = {
|
||||
IHTMLEventObj5_tid,
|
||||
IHTMLEventObj_tid,
|
||||
0
|
||||
};
|
||||
|
|
|
@ -208,6 +208,7 @@ typedef struct EventTarget EventTarget;
|
|||
XIID(IHTMLElementCollection) \
|
||||
XIID(IHTMLEmbedElement) \
|
||||
XIID(IHTMLEventObj) \
|
||||
XIID(IHTMLEventObj5) \
|
||||
XIID(IHTMLFiltersCollection) \
|
||||
XIID(IHTMLFormElement) \
|
||||
XIID(IHTMLFrameBase) \
|
||||
|
|
|
@ -284,7 +284,12 @@ function test_attach_in_attach() {
|
|||
}
|
||||
|
||||
function test_event_obj_props(e) {
|
||||
var i, props;
|
||||
var i, props = [
|
||||
"altKey", "button", "cancelBubble", "clientX", "clientY", "ctrlKey", "data", "fromElement", "keyCode", "offsetX", "offsetY",
|
||||
"origin", "qualifier", "reason", "returnValue", "screenX", "screenY", "shiftKey", "source", "srcElement", "srcFilter",
|
||||
"toElement", "type", "url", "x", "y" ];
|
||||
for(i = 0; i < props.length; i++)
|
||||
ok(props[i] in e, props[i] + " not in event obj");
|
||||
|
||||
props = [ "imeCompositionChange", "imeNotifyCommand", "imeNotifyData", "imeRequest", "imeRequestData", "issession", "keyboardLayout" ];
|
||||
for(i = 0; i < props.length; i++)
|
||||
|
|
Loading…
Reference in a new issue