From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/mshtml/htmlevent.c | 11 ++++++----- dlls/mshtml/tests/documentmode.js | 3 +++ 2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/dlls/mshtml/htmlevent.c b/dlls/mshtml/htmlevent.c index a88f6a43ae9..d1c39a10519 100644 --- a/dlls/mshtml/htmlevent.c +++ b/dlls/mshtml/htmlevent.c @@ -3735,11 +3735,12 @@ static const tid_t ProgressEvent_iface_tids[] = { };
dispex_static_data_t ProgressEvent_dispex = { - .id = PROT_ProgressEvent, - .prototype_id = PROT_Event, - .vtbl = &DOMProgressEvent_dispex_vtbl, - .disp_tid = DispDOMProgressEvent_tid, - .iface_tids = ProgressEvent_iface_tids, + .id = PROT_ProgressEvent, + .prototype_id = PROT_Event, + .vtbl = &DOMProgressEvent_dispex_vtbl, + .disp_tid = DispDOMProgressEvent_tid, + .iface_tids = ProgressEvent_iface_tids, + .min_compat_mode = COMPAT_MODE_IE10, };
static const dispex_static_data_vtbl_t DOMStorageEvent_dispex_vtbl = { diff --git a/dlls/mshtml/tests/documentmode.js b/dlls/mshtml/tests/documentmode.js index 4a37e912ebb..c6875f0a984 100644 --- a/dlls/mshtml/tests/documentmode.js +++ b/dlls/mshtml/tests/documentmode.js @@ -673,6 +673,7 @@ sync_test("window_props", function() { test_exposed("matchMedia", v >= 10); test_exposed("MutationObserver", v >= 11); test_exposed("PageTransitionEvent", v >= 11); + test_exposed("ProgressEvent", v >= 10); });
sync_test("domimpl_props", function() { @@ -3730,6 +3731,8 @@ sync_test("prototype props", function() { ]); if(v >= 11) check(PageTransitionEvent, [ "persisted" ]); + if(v >= 10) + check(ProgressEvent, [ "initProgressEvent", "lengthComputable", "loaded", "total" ]); check(StorageEvent, [ "initStorageEvent", "key", "newValue", "oldValue", "storageArea", "url" ]); check(Text, [ "removeNode", "replaceNode", "replaceWholeText", "splitText", "swapNode", "wholeText" ], [ "replaceWholeText", "wholeText" ]); check(UIEvent, [ "detail", "initUIEvent", "view" ], null, [ "deviceSessionId" ]);