diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index a4b05e7f445..0c71f526a0e 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -6569,9 +6569,6 @@ impl DocumentMethods for Document { Ok(()) } - // https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers - document_and_element_event_handlers!(); - // https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenerror event_handler!(fullscreenerror, GetOnfullscreenerror, SetOnfullscreenerror); diff --git a/components/script/dom/htmlbodyelement.rs b/components/script/dom/htmlbodyelement.rs index b4efba9bed9..19b0ab4efce 100644 --- a/components/script/dom/htmlbodyelement.rs +++ b/components/script/dom/htmlbodyelement.rs @@ -181,26 +181,31 @@ impl VirtualMethods for HTMLBodyElement { (name, AttributeMutation::Set(_)) if name.starts_with("on") => { let window = self.owner_window(); // https://html.spec.whatwg.org/multipage/ - // #event-handlers-on-elements,-document-objects,-and-window-objects:event-handlers-3 + // #event-handlers-on-elements,-document-objects,-and-window-objects:event-handlers-6 match name { - &local_name!("onfocus") | - &local_name!("onload") | - &local_name!("onscroll") | &local_name!("onafterprint") | &local_name!("onbeforeprint") | &local_name!("onbeforeunload") | + &local_name!("onerror") | + &local_name!("onfocus") | &local_name!("onhashchange") | + &local_name!("onload") | &local_name!("onlanguagechange") | &local_name!("onmessage") | + &local_name!("onmessageerror") | &local_name!("onoffline") | &local_name!("ononline") | &local_name!("onpagehide") | + &local_name!("onpagereveal") | &local_name!("onpageshow") | + &local_name!("onpageswap") | &local_name!("onpopstate") | - &local_name!("onstorage") | + &local_name!("onrejectionhandled") | &local_name!("onresize") | - &local_name!("onunload") | - &local_name!("onerror") => { + &local_name!("onscroll") | + &local_name!("onstorage") | + &local_name!("onunhandledrejection") | + &local_name!("onunload") => { let source = &**attr.value(); let evtarget = window.upcast::(); // forwarded event let source_line = 1; //TODO(#9604) obtain current JS execution line diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs index 59b71543d6d..32a979ad138 100644 --- a/components/script/dom/htmlelement.rs +++ b/components/script/dom/htmlelement.rs @@ -191,9 +191,6 @@ impl HTMLElementMethods for HTMLElement { // https://html.spec.whatwg.org/multipage/#globaleventhandlers global_event_handlers!(NoOnload); - // https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers - document_and_element_event_handlers!(); - // https://html.spec.whatwg.org/multipage/#dom-dataset fn Dataset(&self, can_gc: CanGc) -> DomRoot { self.dataset.or_init(|| DOMStringMap::new(self, can_gc)) diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs index cc44497d0b9..564fe810db0 100644 --- a/components/script/dom/macros.rs +++ b/components/script/dom/macros.rs @@ -523,21 +523,29 @@ macro_rules! global_event_handlers( ); (NoOnload) => ( event_handler!(abort, GetOnabort, SetOnabort); + event_handler!(auxclick, GetOnauxclick, SetOnauxclick); event_handler!(animationend, GetOnanimationend, SetOnanimationend); event_handler!(animationiteration, GetOnanimationiteration, SetOnanimationiteration); + event_handler!(beforeinput, GetOnbeforeinput, SetOnbeforeinput); + event_handler!(beforematch, GetOnbeforematch, SetOnbeforematch); + event_handler!(beforetoggle, GetOnbeforetoggle, SetOnbeforetoggle); event_handler!(cancel, GetOncancel, SetOncancel); event_handler!(canplay, GetOncanplay, SetOncanplay); event_handler!(canplaythrough, GetOncanplaythrough, SetOncanplaythrough); event_handler!(change, GetOnchange, SetOnchange); event_handler!(click, GetOnclick, SetOnclick); event_handler!(close, GetOnclose, SetOnclose); + event_handler!(command, GetOncommand, SetOncommand); + event_handler!(contextlost, GetOncontextlost, SetOncontextlost); event_handler!(contextmenu, GetOncontextmenu, SetOncontextmenu); + event_handler!(contextrestored, GetOncontextrestored, SetOncontextrestored); + event_handler!(copy, GetOncopy, SetOncopy); event_handler!(cuechange, GetOncuechange, SetOncuechange); + event_handler!(cut, GetOncut, SetOncut); event_handler!(dblclick, GetOndblclick, SetOndblclick); event_handler!(drag, GetOndrag, SetOndrag); event_handler!(dragend, GetOndragend, SetOndragend); event_handler!(dragenter, GetOndragenter, SetOndragenter); - event_handler!(dragexit, GetOndragexit, SetOndragexit); event_handler!(dragleave, GetOndragleave, SetOndragleave); event_handler!(dragover, GetOndragover, SetOndragover); event_handler!(dragstart, GetOndragstart, SetOndragstart); @@ -561,20 +569,21 @@ macro_rules! global_event_handlers( event_handler!(mouseout, GetOnmouseout, SetOnmouseout); event_handler!(mouseover, GetOnmouseover, SetOnmouseover); event_handler!(mouseup, GetOnmouseup, SetOnmouseup); - event_handler!(wheel, GetOnwheel, SetOnwheel); + event_handler!(paste, GetOnpaste, SetOnpaste); event_handler!(pause, GetOnpause, SetOnpause); event_handler!(play, GetOnplay, SetOnplay); event_handler!(playing, GetOnplaying, SetOnplaying); event_handler!(progress, GetOnprogress, SetOnprogress); event_handler!(ratechange, GetOnratechange, SetOnratechange); event_handler!(reset, GetOnreset, SetOnreset); + event_handler!(scrollend, GetOnscrollend, SetOnscrollend); event_handler!(securitypolicyviolation, GetOnsecuritypolicyviolation, SetOnsecuritypolicyviolation); event_handler!(seeked, GetOnseeked, SetOnseeked); event_handler!(seeking, GetOnseeking, SetOnseeking); event_handler!(select, GetOnselect, SetOnselect); event_handler!(selectionchange, GetOnselectionchange, SetOnselectionchange); event_handler!(selectstart, GetOnselectstart, SetOnselectstart); - event_handler!(show, GetOnshow, SetOnshow); + event_handler!(slotchange, GetOnslotchange, SetOnslotchange); event_handler!(stalled, GetOnstalled, SetOnstalled); event_handler!(submit, GetOnsubmit, SetOnsubmit); event_handler!(suspend, GetOnsuspend, SetOnsuspend); @@ -585,6 +594,11 @@ macro_rules! global_event_handlers( event_handler!(transitionrun, GetOntransitionrun, SetOntransitionrun); event_handler!(volumechange, GetOnvolumechange, SetOnvolumechange); event_handler!(waiting, GetOnwaiting, SetOnwaiting); + event_handler!(webkitanimationend, GetOnwebkitanimationend, SetOnwebkitanimationend); + event_handler!(webkitanimationiteration, GetOnwebkitanimationiteration, SetOnwebkitanimationiteration); + event_handler!(webkitanimationstart, GetOnwebkitanimationstart, SetOnwebkitanimationstart); + event_handler!(webkittransitionend, GetOnwebkittransitionend, SetOnwebkittransitionend); + event_handler!(wheel, GetOnwheel, SetOnwheel); ) ); @@ -605,7 +619,9 @@ macro_rules! window_event_handlers( event_handler!(offline, GetOnoffline, SetOnoffline); event_handler!(online, GetOnonline, SetOnonline); event_handler!(pagehide, GetOnpagehide, SetOnpagehide); + event_handler!(pagereveal, GetOnpagereveal, SetOnpagereveal); event_handler!(pageshow, GetOnpageshow, SetOnpageshow); + event_handler!(pageswap, GetOnpageswap, SetOnpageswap); event_handler!(popstate, GetOnpopstate, SetOnpopstate); event_handler!(rejectionhandled, GetOnrejectionhandled, SetOnrejectionhandled); @@ -633,7 +649,9 @@ macro_rules! window_event_handlers( window_owned_event_handler!(offline, GetOnoffline, SetOnoffline); window_owned_event_handler!(online, GetOnonline, SetOnonline); window_owned_event_handler!(pagehide, GetOnpagehide, SetOnpagehide); + window_owned_event_handler!(pagereveal, GetOnpagereveal, SetOnpagereveal); window_owned_event_handler!(pageshow, GetOnpageshow, SetOnpageshow); + window_owned_event_handler!(pageswap, GetOnpageswap, SetOnpageswap); window_owned_event_handler!(popstate, GetOnpopstate, SetOnpopstate); window_owned_event_handler!(rejectionhandled, GetOnrejectionhandled, SetOnrejectionhandled); @@ -646,17 +664,6 @@ macro_rules! window_event_handlers( ); ); -// https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers -// see webidls/EventHandler.webidl -// As more methods get added, just update them here. -macro_rules! document_and_element_event_handlers( - () => ( - event_handler!(cut, GetOncut, SetOncut); - event_handler!(copy, GetOncopy, SetOncopy); - event_handler!(paste, GetOnpaste, SetOnpaste); - ) -); - /// DOM struct implementation for simple interfaces inheriting from PerformanceEntry. macro_rules! impl_performance_entry_struct( ($binding:ident, $struct:ident, $type:expr) => ( diff --git a/components/script_bindings/webidls/Document.webidl b/components/script_bindings/webidls/Document.webidl index 737e74d3bf2..e878b1642e4 100644 --- a/components/script_bindings/webidls/Document.webidl +++ b/components/script_bindings/webidls/Document.webidl @@ -154,7 +154,6 @@ partial /*sealed*/ interface Document { // also has obsolete members }; Document includes GlobalEventHandlers; -Document includes DocumentAndElementEventHandlers; // https://html.spec.whatwg.org/multipage/#Document-partial partial interface Document { diff --git a/components/script_bindings/webidls/EventHandler.webidl b/components/script_bindings/webidls/EventHandler.webidl index f597ce237d3..d32302f4b37 100644 --- a/components/script_bindings/webidls/EventHandler.webidl +++ b/components/script_bindings/webidls/EventHandler.webidl @@ -28,6 +28,10 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler; [Exposed=Window] interface mixin GlobalEventHandlers { attribute EventHandler onabort; + attribute EventHandler onauxclick; + attribute EventHandler onbeforeinput; + attribute EventHandler onbeforematch; + attribute EventHandler onbeforetoggle; attribute EventHandler onblur; attribute EventHandler oncancel; attribute EventHandler oncanplay; @@ -35,13 +39,17 @@ interface mixin GlobalEventHandlers { attribute EventHandler onchange; attribute EventHandler onclick; attribute EventHandler onclose; + attribute EventHandler oncommand; + attribute EventHandler oncontextlost; attribute EventHandler oncontextmenu; + attribute EventHandler oncontextrestored; + attribute EventHandler oncopy; attribute EventHandler oncuechange; + attribute EventHandler oncut; attribute EventHandler ondblclick; attribute EventHandler ondrag; attribute EventHandler ondragend; attribute EventHandler ondragenter; - attribute EventHandler ondragexit; attribute EventHandler ondragleave; attribute EventHandler ondragover; attribute EventHandler ondragstart; @@ -68,7 +76,7 @@ interface mixin GlobalEventHandlers { attribute EventHandler onmouseout; attribute EventHandler onmouseover; attribute EventHandler onmouseup; - attribute EventHandler onwheel; + attribute EventHandler onpaste; attribute EventHandler onpause; attribute EventHandler onplay; attribute EventHandler onplaying; @@ -77,11 +85,12 @@ interface mixin GlobalEventHandlers { attribute EventHandler onreset; attribute EventHandler onresize; attribute EventHandler onscroll; + attribute EventHandler onscrollend; attribute EventHandler onsecuritypolicyviolation; attribute EventHandler onseeked; attribute EventHandler onseeking; attribute EventHandler onselect; - attribute EventHandler onshow; + attribute EventHandler onslotchange; attribute EventHandler onstalled; attribute EventHandler onsubmit; attribute EventHandler onsuspend; @@ -89,6 +98,11 @@ interface mixin GlobalEventHandlers { attribute EventHandler ontoggle; attribute EventHandler onvolumechange; attribute EventHandler onwaiting; + attribute EventHandler onwebkitanimationend; + attribute EventHandler onwebkitanimationiteration; + attribute EventHandler onwebkitanimationstart; + attribute EventHandler onwebkittransitionend; + attribute EventHandler onwheel; }; // https://drafts.csswg.org/css-animations/#interface-globaleventhandlers-idl @@ -123,18 +137,12 @@ interface mixin WindowEventHandlers { attribute EventHandler onoffline; attribute EventHandler ononline; attribute EventHandler onpagehide; + attribute EventHandler onpagereveal; attribute EventHandler onpageshow; + attribute EventHandler onpageswap; attribute EventHandler onpopstate; attribute EventHandler onrejectionhandled; attribute EventHandler onstorage; attribute EventHandler onunhandledrejection; attribute EventHandler onunload; }; - -// https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers -[Exposed=Window] -interface mixin DocumentAndElementEventHandlers { - attribute EventHandler oncopy; - attribute EventHandler oncut; - attribute EventHandler onpaste; -}; diff --git a/components/script_bindings/webidls/HTMLElement.webidl b/components/script_bindings/webidls/HTMLElement.webidl index 76bfada1b94..19a4b515d11 100644 --- a/components/script_bindings/webidls/HTMLElement.webidl +++ b/components/script_bindings/webidls/HTMLElement.webidl @@ -73,7 +73,6 @@ partial interface HTMLElement { }; HTMLElement includes GlobalEventHandlers; -HTMLElement includes DocumentAndElementEventHandlers; HTMLElement includes ElementContentEditable; HTMLElement includes ElementCSSInlineStyle; HTMLElement includes HTMLOrSVGElement; diff --git a/tests/wpt/meta/dom/events/webkit-animation-end-event.html.ini b/tests/wpt/meta/dom/events/webkit-animation-end-event.html.ini index 3369a3a2a49..5750c2948be 100644 --- a/tests/wpt/meta/dom/events/webkit-animation-end-event.html.ini +++ b/tests/wpt/meta/dom/events/webkit-animation-end-event.html.ini @@ -1,28 +1,22 @@ [webkit-animation-end-event.html] expected: TIMEOUT - [onanimationend and onwebkitanimationend are not aliases] - expected: FAIL - [dispatchEvent of a webkitAnimationEnd event does trigger a prefixed event handler or listener] expected: FAIL - [dispatchEvent of an animationend event does not trigger a prefixed event handler or listener] - expected: FAIL - [onwebkitanimationend event handler should trigger for an animation] - expected: FAIL + expected: TIMEOUT [onwebkitanimationend event handler should not trigger if an unprefixed event handler also exists] - expected: FAIL + expected: NOTRUN [onwebkitanimationend event handler should not trigger if an unprefixed listener also exists] - expected: FAIL + expected: NOTRUN [event types for prefixed and unprefixed animationend event handlers should be named appropriately] - expected: FAIL + expected: NOTRUN [webkitAnimationEnd event listener should trigger for an animation] - expected: TIMEOUT + expected: NOTRUN [webkitAnimationEnd event listener should not trigger if an unprefixed listener also exists] expected: NOTRUN diff --git a/tests/wpt/meta/dom/events/webkit-animation-iteration-event.html.ini b/tests/wpt/meta/dom/events/webkit-animation-iteration-event.html.ini index 880ef51e59d..233a98ed69b 100644 --- a/tests/wpt/meta/dom/events/webkit-animation-iteration-event.html.ini +++ b/tests/wpt/meta/dom/events/webkit-animation-iteration-event.html.ini @@ -1,28 +1,22 @@ [webkit-animation-iteration-event.html] expected: TIMEOUT - [onanimationiteration and onwebkitanimationiteration are not aliases] - expected: FAIL - [dispatchEvent of a webkitAnimationIteration event does trigger a prefixed event handler or listener] expected: FAIL - [dispatchEvent of an animationiteration event does not trigger a prefixed event handler or listener] - expected: FAIL - [onwebkitanimationiteration event handler should trigger for an animation] - expected: FAIL + expected: TIMEOUT [onwebkitanimationiteration event handler should not trigger if an unprefixed event handler also exists] - expected: FAIL + expected: NOTRUN [onwebkitanimationiteration event handler should not trigger if an unprefixed listener also exists] - expected: FAIL + expected: NOTRUN [event types for prefixed and unprefixed animationiteration event handlers should be named appropriately] - expected: FAIL + expected: NOTRUN [webkitAnimationIteration event listener should trigger for an animation] - expected: TIMEOUT + expected: NOTRUN [webkitAnimationIteration event listener should not trigger if an unprefixed listener also exists] expected: NOTRUN diff --git a/tests/wpt/meta/dom/events/webkit-animation-start-event.html.ini b/tests/wpt/meta/dom/events/webkit-animation-start-event.html.ini index ca7e2b96918..6e3e5febb82 100644 --- a/tests/wpt/meta/dom/events/webkit-animation-start-event.html.ini +++ b/tests/wpt/meta/dom/events/webkit-animation-start-event.html.ini @@ -1,4 +1,5 @@ [webkit-animation-start-event.html] + expected: TIMEOUT [onanimationstart and onwebkitanimationstart are not aliases] expected: FAIL @@ -8,32 +9,29 @@ [dispatchEvent of a webkitAnimationStart event does not trigger an unprefixed event handler or listener] expected: FAIL - [dispatchEvent of an animationstart event does not trigger a prefixed event handler or listener] - expected: FAIL - [onwebkitanimationstart event handler should trigger for an animation] - expected: FAIL + expected: TIMEOUT [onwebkitanimationstart event handler should not trigger if an unprefixed event handler also exists] - expected: FAIL + expected: NOTRUN [onwebkitanimationstart event handler should not trigger if an unprefixed listener also exists] - expected: FAIL + expected: NOTRUN [event types for prefixed and unprefixed animationstart event handlers should be named appropriately] - expected: FAIL + expected: NOTRUN [webkitAnimationStart event listener should trigger for an animation] - expected: FAIL + expected: NOTRUN [webkitAnimationStart event listener should not trigger if an unprefixed listener also exists] - expected: FAIL + expected: NOTRUN [webkitAnimationStart event listener should not trigger if an unprefixed event handler also exists] - expected: FAIL + expected: NOTRUN [event types for prefixed and unprefixed animationstart event listeners should be named appropriately] - expected: FAIL + expected: NOTRUN [webkitAnimationStart event listener is case sensitive] - expected: FAIL + expected: NOTRUN diff --git a/tests/wpt/meta/html/dom/idlharness.https.html.ini b/tests/wpt/meta/html/dom/idlharness.https.html.ini index 25375c6ea47..311e3abaf15 100644 --- a/tests/wpt/meta/html/dom/idlharness.https.html.ini +++ b/tests/wpt/meta/html/dom/idlharness.https.html.ini @@ -1657,48 +1657,27 @@ [Window interface: window must inherit property "external" with the proper type] expected: FAIL - [Window interface: attribute onwebkitanimationstart] - expected: FAIL - [Window interface: window must inherit property "statusbar" with the proper type] expected: FAIL - [Document interface: new Document() must inherit property "onwebkittransitionend" with the proper type] - expected: FAIL - [Document interface: calling queryCommandEnabled(DOMString) on documentWithHandlers with too few arguments must throw TypeError] expected: FAIL - [Document interface: new Document() must inherit property "onwebkitanimationstart" with the proper type] - expected: FAIL - [Document interface: calling queryCommandIndeterm(DOMString) on documentWithHandlers with too few arguments must throw TypeError] expected: FAIL - [Document interface: iframe.contentDocument must inherit property "onwebkitanimationend" with the proper type] - expected: FAIL - [Document interface: iframe.contentDocument must inherit property "dir" with the proper type] expected: FAIL - [Window interface: window must inherit property "onwebkitanimationiteration" with the proper type] - expected: FAIL - [Window interface: window must inherit property "applicationCache" with the proper type] expected: FAIL - [Document interface: attribute onauxclick] - expected: FAIL - [Window interface: window must inherit property "menubar" with the proper type] expected: FAIL [Window interface: internal [[SetPrototypeOf\]\] method of interface prototype object - setting to a new value via Reflect.setPrototypeOf should return false] expected: FAIL - [Document interface: new Document() must inherit property "onwebkitanimationiteration" with the proper type] - expected: FAIL - [Document interface: attribute designMode] expected: FAIL @@ -1714,9 +1693,6 @@ [Document interface: calling execCommand(DOMString, optional boolean, optional DOMString) on new Document() with too few arguments must throw TypeError] expected: FAIL - [Document interface: attribute onwebkitanimationiteration] - expected: FAIL - [Document interface: operation queryCommandEnabled(DOMString)] expected: FAIL @@ -1741,42 +1717,24 @@ [Document interface: iframe.contentDocument must inherit property "linkColor" with the proper type] expected: FAIL - [Document interface: documentWithHandlers must inherit property "onslotchange" with the proper type] - expected: FAIL - [Document interface: documentWithHandlers must inherit property "alinkColor" with the proper type] expected: FAIL [Document interface: documentWithHandlers must inherit property "dir" with the proper type] expected: FAIL - [Window interface: window must inherit property "onslotchange" with the proper type] - expected: FAIL - [SVGAElement includes HTMLHyperlinkElementUtils: member names are unique] expected: FAIL [Window interface: attribute applicationCache] expected: FAIL - [Document interface: iframe.contentDocument must inherit property "onwebkitanimationstart" with the proper type] - expected: FAIL - - [Document interface: attribute onslotchange] - expected: FAIL - [Document interface: calling queryCommandIndeterm(DOMString) on iframe.contentDocument with too few arguments must throw TypeError] expected: FAIL [Document interface: iframe.contentDocument must inherit property "queryCommandValue(DOMString)" with the proper type] expected: FAIL - [Document interface: iframe.contentDocument must inherit property "onwebkitanimationiteration" with the proper type] - expected: FAIL - - [Document interface: attribute onwebkittransitionend] - expected: FAIL - [Document interface: iframe.contentDocument must inherit property "all" with the proper type] expected: FAIL @@ -1789,9 +1747,6 @@ [Document interface: attribute linkColor] expected: FAIL - [Window interface: attribute onwebkitanimationiteration] - expected: FAIL - [Window interface: window must inherit property "scrollbars" with the proper type] expected: FAIL @@ -1807,18 +1762,12 @@ [Document interface: iframe.contentDocument must inherit property "designMode" with the proper type] expected: FAIL - [Document interface: documentWithHandlers must inherit property "onwebkitanimationiteration" with the proper type] - expected: FAIL - [Window interface: attribute toolbar] expected: FAIL [Window interface: attribute statusbar] expected: FAIL - [Window interface: window must inherit property "onwebkittransitionend" with the proper type] - expected: FAIL - [Document interface: new Document() must inherit property "linkColor" with the proper type] expected: FAIL @@ -1828,15 +1777,9 @@ [Document interface: new Document() must inherit property "queryCommandState(DOMString)" with the proper type] expected: FAIL - [Window interface: attribute onwebkittransitionend] - expected: FAIL - [Document interface: calling execCommand(DOMString, optional boolean, optional DOMString) on iframe.contentDocument with too few arguments must throw TypeError] expected: FAIL - [Document interface: new Document() must inherit property "onslotchange" with the proper type] - expected: FAIL - [Document interface: documentWithHandlers must inherit property "designMode" with the proper type] expected: FAIL @@ -1855,9 +1798,6 @@ [Window interface: window must inherit property "personalbar" with the proper type] expected: FAIL - [Document interface: attribute onwebkitanimationend] - expected: FAIL - [Window interface: internal [[SetPrototypeOf\]\] method of interface prototype object - setting to a new value via __proto__ should throw a TypeError] expected: FAIL @@ -1882,24 +1822,15 @@ [Document interface: attribute vlinkColor] expected: FAIL - [Window interface: window must inherit property "onauxclick" with the proper type] - expected: FAIL - [Document interface: iframe.contentDocument must inherit property "queryCommandEnabled(DOMString)" with the proper type] expected: FAIL - [Document interface: iframe.contentDocument must inherit property "onslotchange" with the proper type] - expected: FAIL - [Document interface: new Document() must inherit property "alinkColor" with the proper type] expected: FAIL [Document interface: new Document() must inherit property "queryCommandEnabled(DOMString)" with the proper type] expected: FAIL - [Window interface: attribute onslotchange] - expected: FAIL - [Document interface: new Document() must inherit property "all" with the proper type] expected: FAIL @@ -1909,24 +1840,6 @@ [Window interface: window must inherit property "print()" with the proper type] expected: FAIL - [Document interface: documentWithHandlers must inherit property "onauxclick" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "onwebkitanimationend" with the proper type] - expected: FAIL - - [Document interface: new Document() must inherit property "onauxclick" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "onwebkitanimationstart" with the proper type] - expected: FAIL - - [Document interface: attribute onwebkitanimationstart] - expected: FAIL - - [Document interface: iframe.contentDocument must inherit property "onauxclick" with the proper type] - expected: FAIL - [Document interface: calling queryCommandValue(DOMString) on documentWithHandlers with too few arguments must throw TypeError] expected: FAIL @@ -1939,9 +1852,6 @@ [Document interface: calling queryCommandState(DOMString) on new Document() with too few arguments must throw TypeError] expected: FAIL - [Window interface: attribute onauxclick] - expected: FAIL - [Document interface: iframe.contentDocument must inherit property "queryCommandState(DOMString)" with the proper type] expected: FAIL @@ -1954,48 +1864,30 @@ [Document interface: new Document() must inherit property "queryCommandValue(DOMString)" with the proper type] expected: FAIL - [Window interface: window must inherit property "onwebkitanimationend" with the proper type] - expected: FAIL - [Window interface: window must inherit property "toolbar" with the proper type] expected: FAIL [Document interface: documentWithHandlers must inherit property "linkColor" with the proper type] expected: FAIL - [Document interface: new Document() must inherit property "onwebkitanimationend" with the proper type] - expected: FAIL - [Document interface: operation queryCommandIndeterm(DOMString)] expected: FAIL - [Document interface: iframe.contentDocument must inherit property "onwebkittransitionend" with the proper type] - expected: FAIL - [Document interface: calling queryCommandIndeterm(DOMString) on new Document() with too few arguments must throw TypeError] expected: FAIL - [Window interface: attribute onwebkitanimationend] - expected: FAIL - [Document interface: calling execCommand(DOMString, optional boolean, optional DOMString) on documentWithHandlers with too few arguments must throw TypeError] expected: FAIL [Document interface: documentWithHandlers must inherit property "queryCommandState(DOMString)" with the proper type] expected: FAIL - [Document interface: documentWithHandlers must inherit property "onwebkittransitionend" with the proper type] - expected: FAIL - [Document interface: new Document() must inherit property "vlinkColor" with the proper type] expected: FAIL [Window interface: window must inherit property "locationbar" with the proper type] expected: FAIL - [Window interface: window must inherit property "onwebkitanimationstart" with the proper type] - expected: FAIL - [Document interface: documentWithHandlers must inherit property "queryCommandIndeterm(DOMString)" with the proper type] expected: FAIL @@ -2023,24 +1915,12 @@ [Window interface: attribute clientInformation] expected: FAIL - [Window interface: attribute oncontextlost] - expected: FAIL - - [Window interface: attribute oncontextrestored] - expected: FAIL - [Window interface: operation reportError(any)] expected: FAIL [Window interface: window must inherit property "clientInformation" with the proper type] expected: FAIL - [Window interface: window must inherit property "oncontextlost" with the proper type] - expected: FAIL - - [Window interface: window must inherit property "oncontextrestored" with the proper type] - expected: FAIL - [Window interface: window must inherit property "reportError(any)" with the proper type] expected: FAIL @@ -2050,129 +1930,15 @@ [Document interface: attribute onvisibilitychange] expected: FAIL - [Document interface: attribute oncontextlost] - expected: FAIL - - [Document interface: attribute oncontextrestored] - expected: FAIL - [Document interface: iframe.contentDocument must inherit property "onvisibilitychange" with the proper type] expected: FAIL - [Document interface: iframe.contentDocument must inherit property "oncontextlost" with the proper type] - expected: FAIL - - [Document interface: iframe.contentDocument must inherit property "oncontextrestored" with the proper type] - expected: FAIL - [Document interface: new Document() must inherit property "onvisibilitychange" with the proper type] expected: FAIL - [Document interface: new Document() must inherit property "oncontextlost" with the proper type] - expected: FAIL - - [Document interface: new Document() must inherit property "oncontextrestored" with the proper type] - expected: FAIL - [Document interface: documentWithHandlers must inherit property "onvisibilitychange" with the proper type] expected: FAIL - [Document interface: documentWithHandlers must inherit property "oncontextlost" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "oncontextrestored" with the proper type] - expected: FAIL - - [Window interface: attribute onbeforeinput] - expected: FAIL - - [Window interface: attribute onbeforematch] - expected: FAIL - - [Window interface: attribute onscrollend] - expected: FAIL - - [Window interface: window must inherit property "onbeforeinput" with the proper type] - expected: FAIL - - [Window interface: window must inherit property "onbeforematch" with the proper type] - expected: FAIL - - [Window interface: window must inherit property "onscrollend" with the proper type] - expected: FAIL - - [Document interface: attribute onbeforeinput] - expected: FAIL - - [Document interface: attribute onbeforematch] - expected: FAIL - - [Document interface: attribute onscrollend] - expected: FAIL - - [Document interface: iframe.contentDocument must inherit property "onbeforeinput" with the proper type] - expected: FAIL - - [Document interface: iframe.contentDocument must inherit property "onbeforematch" with the proper type] - expected: FAIL - - [Document interface: iframe.contentDocument must inherit property "onscrollend" with the proper type] - expected: FAIL - - [Document interface: new Document() must inherit property "onbeforeinput" with the proper type] - expected: FAIL - - [Document interface: new Document() must inherit property "onbeforematch" with the proper type] - expected: FAIL - - [Document interface: new Document() must inherit property "onscrollend" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "onbeforeinput" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "onbeforematch" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "onscrollend" with the proper type] - expected: FAIL - - [Window interface: attribute oncopy] - expected: FAIL - - [Window interface: attribute oncut] - expected: FAIL - - [Window interface: attribute onpaste] - expected: FAIL - - [Window interface: window must inherit property "oncopy" with the proper type] - expected: FAIL - - [Window interface: window must inherit property "oncut" with the proper type] - expected: FAIL - - [Window interface: window must inherit property "onpaste" with the proper type] - expected: FAIL - - [Window interface: attribute onbeforetoggle] - expected: FAIL - - [Window interface: window must inherit property "onbeforetoggle" with the proper type] - expected: FAIL - - [Document interface: attribute onbeforetoggle] - expected: FAIL - - [Document interface: iframe.contentDocument must inherit property "onbeforetoggle" with the proper type] - expected: FAIL - - [Document interface: new Document() must inherit property "onbeforetoggle" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "onbeforetoggle" with the proper type] - expected: FAIL - [Window interface: attribute navigation] expected: FAIL @@ -2191,18 +1957,6 @@ [Document interface: calling parseHTMLUnsafe(DOMString) on documentWithHandlers with too few arguments must throw TypeError] expected: FAIL - [Window interface: attribute onpagereveal] - expected: FAIL - - [Window interface: window must inherit property "onpagereveal" with the proper type] - expected: FAIL - - [Window interface: attribute onpageswap] - expected: FAIL - - [Window interface: window must inherit property "onpageswap" with the proper type] - expected: FAIL - [Document interface: operation parseHTMLUnsafe(HTMLString)] expected: FAIL @@ -2227,24 +1981,6 @@ [Document interface: calling parseHTMLUnsafe((TrustedHTML or DOMString)) on documentWithHandlers with too few arguments must throw TypeError] expected: FAIL - [Window interface: attribute oncommand] - expected: FAIL - - [Window interface: window must inherit property "oncommand" with the proper type] - expected: FAIL - - [Document interface: attribute oncommand] - expected: FAIL - - [Document interface: iframe.contentDocument must inherit property "oncommand" with the proper type] - expected: FAIL - - [Document interface: new Document() must inherit property "oncommand" with the proper type] - expected: FAIL - - [Document interface: documentWithHandlers must inherit property "oncommand" with the proper type] - expected: FAIL - [idlharness.https.html?include=HTML.*] [HTMLTableSectionElement interface: document.createElement("tfoot") must inherit property "align" with the proper type] @@ -2610,12 +2346,6 @@ [HTMLImageElement interface: document.createElement("img") must inherit property "decoding" with the proper type] expected: FAIL - [HTMLElement interface: attribute onwebkitanimationiteration] - expected: FAIL - - [HTMLElement interface: attribute onslotchange] - expected: FAIL - [HTMLVideoElement interface: attribute width] expected: FAIL @@ -2727,9 +2457,6 @@ [HTMLAnchorElement interface: attribute type] expected: FAIL - [HTMLElement interface: attribute onwebkitanimationend] - expected: FAIL - [HTMLInputElement interface: attribute height] expected: FAIL @@ -2949,9 +2676,6 @@ [HTMLElement interface: attribute tabIndex] expected: FAIL - [HTMLElement interface: attribute onwebkitanimationstart] - expected: FAIL - [HTMLImageElement interface: new Image() must inherit property "loading" with the proper type] expected: FAIL @@ -3639,9 +3363,6 @@ [HTMLAllCollection interface: document.all must inherit property "namedItem(DOMString)" with the proper type] expected: FAIL - [HTMLElement interface: attribute onwebkittransitionend] - expected: FAIL - [HTMLLinkElement interface: document.createElement("link") must inherit property "imageSrcset" with the proper type] expected: FAIL @@ -3945,12 +3666,6 @@ [HTMLSlotElement interface: calling assign((Element or Text)...) on document.createElement("slot") with too few arguments must throw TypeError] expected: FAIL - [HTMLElement interface: attribute oncontextlost] - expected: FAIL - - [HTMLElement interface: attribute oncontextrestored] - expected: FAIL - [HTMLElement interface: document.createElement("noscript") must inherit property "oncontextlost" with the proper type] expected: FAIL @@ -4044,15 +3759,6 @@ [HTMLElement interface: attribute inert] expected: FAIL - [HTMLElement interface: attribute onbeforeinput] - expected: FAIL - - [HTMLElement interface: attribute onbeforematch] - expected: FAIL - - [HTMLElement interface: attribute onscrollend] - expected: FAIL - [HTMLElement interface: document.createElement("noscript") must inherit property "inert" with the proper type] expected: FAIL @@ -4317,36 +4023,12 @@ [HTMLSelectElement interface: document.createElement("select") must inherit property "showPicker()" with the proper type] expected: FAIL - [HTMLBodyElement interface: attribute onpagereveal] - expected: FAIL - - [HTMLBodyElement interface: document.createElement("body") must inherit property "onpagereveal" with the proper type] - expected: FAIL - - [HTMLFrameSetElement interface: attribute onpagereveal] - expected: FAIL - - [HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "onpagereveal" with the proper type] - expected: FAIL - [HTMLTemplateElement interface: attribute shadowRootClonable] expected: FAIL [HTMLTemplateElement interface: document.createElement("template") must inherit property "shadowRootClonable" with the proper type] expected: FAIL - [HTMLBodyElement interface: attribute onpageswap] - expected: FAIL - - [HTMLBodyElement interface: document.createElement("body") must inherit property "onpageswap" with the proper type] - expected: FAIL - - [HTMLFrameSetElement interface: attribute onpageswap] - expected: FAIL - - [HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "onpageswap" with the proper type] - expected: FAIL - [HTMLElement interface: attribute writingSuggestions] expected: FAIL @@ -5866,42 +5548,6 @@ [HTMLElement interface: attribute popover] expected: FAIL - [HTMLElement interface: attribute onauxclick] - expected: FAIL - - [HTMLElement interface: attribute onbeforeinput] - expected: FAIL - - [HTMLElement interface: attribute onbeforematch] - expected: FAIL - - [HTMLElement interface: attribute onbeforetoggle] - expected: FAIL - - [HTMLElement interface: attribute oncontextlost] - expected: FAIL - - [HTMLElement interface: attribute oncontextrestored] - expected: FAIL - - [HTMLElement interface: attribute onscrollend] - expected: FAIL - - [HTMLElement interface: attribute onslotchange] - expected: FAIL - - [HTMLElement interface: attribute onwebkitanimationend] - expected: FAIL - - [HTMLElement interface: attribute onwebkitanimationiteration] - expected: FAIL - - [HTMLElement interface: attribute onwebkitanimationstart] - expected: FAIL - - [HTMLElement interface: attribute onwebkittransitionend] - expected: FAIL - [HTMLElement interface: attribute enterKeyHint] expected: FAIL @@ -5950,42 +5596,6 @@ [HTMLElement interface: document.createElement("noscript") must inherit property "popover" with the proper type] expected: FAIL - [HTMLElement interface: document.createElement("noscript") must inherit property "onauxclick" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onbeforeinput" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onbeforematch" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onbeforetoggle" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "oncontextlost" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "oncontextrestored" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onscrollend" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onslotchange" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onwebkitanimationend" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onwebkitanimationiteration" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onwebkitanimationstart" with the proper type] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "onwebkittransitionend" with the proper type] - expected: FAIL - [HTMLElement interface: document.createElement("noscript") must inherit property "enterKeyHint" with the proper type] expected: FAIL @@ -6064,12 +5674,6 @@ [HTMLBodyElement interface: attribute aLink] expected: FAIL - [HTMLBodyElement interface: attribute onpagereveal] - expected: FAIL - - [HTMLBodyElement interface: attribute onpageswap] - expected: FAIL - [HTMLBodyElement interface: document.createElement("body") must inherit property "link" with the proper type] expected: FAIL @@ -6079,12 +5683,6 @@ [HTMLBodyElement interface: document.createElement("body") must inherit property "aLink" with the proper type] expected: FAIL - [HTMLBodyElement interface: document.createElement("body") must inherit property "onpagereveal" with the proper type] - expected: FAIL - - [HTMLBodyElement interface: document.createElement("body") must inherit property "onpageswap" with the proper type] - expected: FAIL - [HTMLHeadingElement interface: attribute align] expected: FAIL @@ -7681,24 +7279,12 @@ [HTMLFrameSetElement interface: attribute rows] expected: FAIL - [HTMLFrameSetElement interface: attribute onpagereveal] - expected: FAIL - - [HTMLFrameSetElement interface: attribute onpageswap] - expected: FAIL - [HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "cols" with the proper type] expected: FAIL [HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "rows" with the proper type] expected: FAIL - [HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "onpagereveal" with the proper type] - expected: FAIL - - [HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "onpageswap" with the proper type] - expected: FAIL - [HTMLFrameElement interface: attribute name] expected: FAIL @@ -7813,12 +7399,6 @@ [HTMLDialogElement interface: operation requestClose(optional DOMString)] expected: FAIL - [HTMLElement interface: attribute oncommand] - expected: FAIL - - [HTMLElement interface: document.createElement("noscript") must inherit property "oncommand" with the proper type] - expected: FAIL - [HTMLButtonElement interface: attribute command] expected: FAIL diff --git a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch-content-attribute.html.ini b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch-content-attribute.html.ini index bf4c7b0b9c9..3a75e5ee0ee 100644 --- a/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch-content-attribute.html.ini +++ b/tests/wpt/meta/html/semantics/the-button-element/command-and-commandfor/button-event-dispatch-content-attribute.html.ini @@ -1,6 +1,3 @@ [button-event-dispatch-content-attribute.html] [oncommand content attribute works] expected: FAIL - - [oncommand content with a value of false prevents default] - expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini index cd77f908ffb..4d4bbb8a39e 100644 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini +++ b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini @@ -11,9 +11,6 @@ [onauxclick: the default value must be null] expected: FAIL - [onauxclick: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onblur: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL @@ -62,9 +59,6 @@ [oncontextlost: the default value must be null] expected: FAIL - [oncontextlost: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [oncontextmenu: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL @@ -77,9 +71,6 @@ [oncontextrestored: the default value must be null] expected: FAIL - [oncontextrestored: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [oncuechange: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL @@ -338,9 +329,6 @@ [onslotchange: the default value must be null] expected: FAIL - [onslotchange: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onstalled: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL @@ -389,9 +377,6 @@ [onwebkitanimationend: the default value must be null] expected: FAIL - [onwebkitanimationend: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onwebkitanimationend: the content attribute must execute when an event is dispatched] expected: FAIL @@ -401,9 +386,6 @@ [onwebkitanimationiteration: the default value must be null] expected: FAIL - [onwebkitanimationiteration: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onwebkitanimationiteration: the content attribute must execute when an event is dispatched] expected: FAIL @@ -413,9 +395,6 @@ [onwebkitanimationstart: the default value must be null] expected: FAIL - [onwebkitanimationstart: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onwebkitanimationstart: the content attribute must execute when an event is dispatched] expected: FAIL @@ -425,9 +404,6 @@ [onwebkittransitionend: the default value must be null] expected: FAIL - [onwebkittransitionend: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onwebkittransitionend: the content attribute must execute when an event is dispatched] expected: FAIL @@ -443,27 +419,18 @@ [onbeforeinput: the default value must be null] expected: FAIL - [onbeforeinput: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onbeforematch: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL [onbeforematch: the default value must be null] expected: FAIL - [onbeforematch: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [onscrollend: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL [onscrollend: the default value must be null] expected: FAIL - [onscrollend: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - [oncopy: must be on the appropriate locations for GlobalEventHandlers] expected: FAIL @@ -488,33 +455,6 @@ [onbeforetoggle: the default value must be null] expected: FAIL - [onbeforetoggle: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - - [onauxclick: dispatching an Event at a element must trigger element.onauxclick] - expected: FAIL - - [onbeforeinput: dispatching an Event at a element must trigger element.onbeforeinput] - expected: FAIL - - [onbeforematch: dispatching an Event at a element must trigger element.onbeforematch] - expected: FAIL - - [onbeforetoggle: dispatching an Event at a element must trigger element.onbeforetoggle] - expected: FAIL - - [oncontextlost: dispatching an Event at a element must trigger element.oncontextlost] - expected: FAIL - - [oncontextrestored: dispatching an Event at a element must trigger element.oncontextrestored] - expected: FAIL - - [onscrollend: dispatching an Event at a element must trigger element.onscrollend] - expected: FAIL - - [onslotchange: dispatching an Event at a element must trigger element.onslotchange] - expected: FAIL - [onwebkitanimationend: dispatching an Event at a element must trigger element.onwebkitanimationend] expected: FAIL @@ -532,9 +472,3 @@ [oncommand: the default value must be null] expected: FAIL - - [oncommand: the content attribute must be compiled into a function as the corresponding property] - expected: FAIL - - [oncommand: dispatching an Event at a element must trigger element.oncommand] - expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini index deec7c5c132..3b3a37ff7c2 100644 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini +++ b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini @@ -1,181 +1,19 @@ [event-handler-attributes-body-window.html] - [not shadowed auxclick (document.body)] - expected: FAIL - - [not shadowed contextlost (document.body)] - expected: FAIL - - [not shadowed contextrestored (document.body)] - expected: FAIL - - [not shadowed slotchange (document.body)] - expected: FAIL - - [not shadowed webkitanimationend (document.body)] - expected: FAIL - - [not shadowed webkitanimationiteration (document.body)] - expected: FAIL - - [not shadowed webkitanimationstart (document.body)] - expected: FAIL - - [not shadowed webkittransitionend (document.body)] - expected: FAIL - - [not shadowed copy (document.body)] - expected: FAIL - - [not shadowed cut (document.body)] - expected: FAIL - - [not shadowed paste (document.body)] - expected: FAIL - - [not shadowed auxclick (document.createElement("body"))] - expected: FAIL - - [not shadowed contextlost (document.createElement("body"))] - expected: FAIL - - [not shadowed contextrestored (document.createElement("body"))] - expected: FAIL - - [not shadowed slotchange (document.createElement("body"))] - expected: FAIL - - [not shadowed webkitanimationend (document.createElement("body"))] - expected: FAIL - - [not shadowed webkitanimationiteration (document.createElement("body"))] - expected: FAIL - - [not shadowed webkitanimationstart (document.createElement("body"))] - expected: FAIL - - [not shadowed webkittransitionend (document.createElement("body"))] - expected: FAIL - - [not shadowed copy (document.createElement("body"))] - expected: FAIL - - [not shadowed cut (document.createElement("body"))] - expected: FAIL - - [not shadowed paste (document.createElement("body"))] - expected: FAIL - - [not shadowed auxclick (window)] - expected: FAIL - - [not shadowed contextlost (window)] - expected: FAIL - - [not shadowed contextrestored (window)] - expected: FAIL - - [not shadowed slotchange (window)] - expected: FAIL - - [not shadowed webkitanimationend (window)] - expected: FAIL - - [not shadowed webkitanimationiteration (window)] - expected: FAIL - - [not shadowed webkitanimationstart (window)] - expected: FAIL - - [not shadowed webkittransitionend (window)] - expected: FAIL - - [not shadowed beforeinput (document.body)] - expected: FAIL - - [not shadowed beforematch (document.body)] - expected: FAIL - - [not shadowed scrollend (document.body)] - expected: FAIL - - [not shadowed beforeinput (document.createElement("body"))] - expected: FAIL - - [not shadowed beforematch (document.createElement("body"))] - expected: FAIL - - [not shadowed scrollend (document.createElement("body"))] - expected: FAIL - - [not shadowed beforeinput (window)] - expected: FAIL - - [not shadowed beforematch (window)] - expected: FAIL - - [not shadowed scrollend (window)] - expected: FAIL - - [not shadowed beforetoggle (document.body)] - expected: FAIL - - [not shadowed beforetoggle (document.createElement("body"))] - expected: FAIL - - [not shadowed beforetoggle (window)] - expected: FAIL - - [shadowed pagereveal (document.body)] - expected: FAIL - - [shadowed pagereveal removal (document.body)] - expected: FAIL - - [shadowed pagereveal (document.createElement("body"))] - expected: FAIL - [shadowed pagereveal removal (document.createElement("body"))] expected: FAIL - [shadowed pagereveal (window)] - expected: FAIL - [shadowed pagereveal removal (window)] expected: FAIL - [shadowed pageswap (document.body)] - expected: FAIL - - [shadowed pageswap removal (document.body)] - expected: FAIL - - [shadowed pageswap (document.createElement("body"))] - expected: FAIL - [shadowed pageswap removal (document.createElement("body"))] expected: FAIL - [shadowed pageswap (window)] - expected: FAIL - [shadowed pageswap removal (window)] expected: FAIL [shadowed blur on body fires when event dispatched on window] expected: FAIL - [shadowed messageerror on body fires when event dispatched on window] - expected: FAIL - - [shadowed pagereveal on body fires when event dispatched on window] - expected: FAIL - - [shadowed pageswap on body fires when event dispatched on window] - expected: FAIL - - [shadowed rejectionhandled on body fires when event dispatched on window] - expected: FAIL - [shadowed focus removal (document.createElement("body"))] expected: FAIL @@ -206,6 +44,9 @@ [shadowed message removal (document.createElement("body"))] expected: FAIL + [shadowed messageerror removal (document.createElement("body"))] + expected: FAIL + [shadowed offline removal (document.createElement("body"))] expected: FAIL @@ -233,6 +74,9 @@ [shadowed load removal (window)] expected: FAIL + [shadowed rejectionhandled removal (document.createElement("body"))] + expected: FAIL + [shadowed resize removal (window)] expected: FAIL @@ -257,6 +101,9 @@ [shadowed message removal (window)] expected: FAIL + [shadowed messageerror removal (window)] + expected: FAIL + [shadowed offline removal (window)] expected: FAIL @@ -272,17 +119,11 @@ [shadowed popstate removal (window)] expected: FAIL + [shadowed rejectionhandled removal (window)] + expected: FAIL + [shadowed storage removal (window)] expected: FAIL [shadowed unload removal (window)] expected: FAIL - - [not shadowed command (document.body)] - expected: FAIL - - [not shadowed command (document.createElement("body"))] - expected: FAIL - - [not shadowed command (window)] - expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini index 4484356912c..b18a8cf6d5b 100644 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini +++ b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini @@ -1,166 +1,4 @@ [event-handler-attributes-frameset-window.html] - [not shadowed auxclick (document.body)] - expected: FAIL - - [not shadowed contextlost (document.body)] - expected: FAIL - - [not shadowed contextrestored (document.body)] - expected: FAIL - - [not shadowed slotchange (document.body)] - expected: FAIL - - [not shadowed webkitanimationend (document.body)] - expected: FAIL - - [not shadowed webkitanimationiteration (document.body)] - expected: FAIL - - [not shadowed webkitanimationstart (document.body)] - expected: FAIL - - [not shadowed webkittransitionend (document.body)] - expected: FAIL - - [not shadowed copy (document.body)] - expected: FAIL - - [not shadowed cut (document.body)] - expected: FAIL - - [not shadowed paste (document.body)] - expected: FAIL - - [not shadowed auxclick (document.createElement("frameset"))] - expected: FAIL - - [not shadowed contextlost (document.createElement("frameset"))] - expected: FAIL - - [not shadowed contextrestored (document.createElement("frameset"))] - expected: FAIL - - [not shadowed slotchange (document.createElement("frameset"))] - expected: FAIL - - [not shadowed webkitanimationend (document.createElement("frameset"))] - expected: FAIL - - [not shadowed webkitanimationiteration (document.createElement("frameset"))] - expected: FAIL - - [not shadowed webkitanimationstart (document.createElement("frameset"))] - expected: FAIL - - [not shadowed webkittransitionend (document.createElement("frameset"))] - expected: FAIL - - [not shadowed copy (document.createElement("frameset"))] - expected: FAIL - - [not shadowed cut (document.createElement("frameset"))] - expected: FAIL - - [not shadowed paste (document.createElement("frameset"))] - expected: FAIL - - [not shadowed auxclick (window)] - expected: FAIL - - [not shadowed contextlost (window)] - expected: FAIL - - [not shadowed contextrestored (window)] - expected: FAIL - - [not shadowed slotchange (window)] - expected: FAIL - - [not shadowed webkitanimationend (window)] - expected: FAIL - - [not shadowed webkitanimationiteration (window)] - expected: FAIL - - [not shadowed webkitanimationstart (window)] - expected: FAIL - - [not shadowed webkittransitionend (window)] - expected: FAIL - - [not shadowed beforeinput (document.body)] - expected: FAIL - - [not shadowed beforematch (document.body)] - expected: FAIL - - [not shadowed scrollend (document.body)] - expected: FAIL - - [not shadowed beforeinput (document.createElement("frameset"))] - expected: FAIL - - [not shadowed beforematch (document.createElement("frameset"))] - expected: FAIL - - [not shadowed scrollend (document.createElement("frameset"))] - expected: FAIL - - [not shadowed beforeinput (window)] - expected: FAIL - - [not shadowed beforematch (window)] - expected: FAIL - - [not shadowed scrollend (window)] - expected: FAIL - - [not shadowed beforetoggle (document.body)] - expected: FAIL - - [not shadowed beforetoggle (document.createElement("frameset"))] - expected: FAIL - - [not shadowed beforetoggle (window)] - expected: FAIL - - [shadowed pagereveal (document.body)] - expected: FAIL - - [shadowed pagereveal removal (document.body)] - expected: FAIL - - [shadowed pagereveal (document.createElement("frameset"))] - expected: FAIL - - [shadowed pagereveal removal (document.createElement("frameset"))] - expected: FAIL - - [shadowed pagereveal (window)] - expected: FAIL - - [shadowed pagereveal removal (window)] - expected: FAIL - - [shadowed pageswap (document.body)] - expected: FAIL - - [shadowed pageswap removal (document.body)] - expected: FAIL - - [shadowed pageswap (document.createElement("frameset"))] - expected: FAIL - - [shadowed pageswap removal (document.createElement("frameset"))] - expected: FAIL - - [shadowed pageswap (window)] - expected: FAIL - - [shadowed pageswap removal (window)] - expected: FAIL - [shadowed blur on body fires when event dispatched on window] expected: FAIL @@ -226,12 +64,3 @@ [shadowed unload on body fires when event dispatched on window] expected: FAIL - - [not shadowed command (document.body)] - expected: FAIL - - [not shadowed command (document.createElement("frameset"))] - expected: FAIL - - [not shadowed command (window)] - expected: FAIL diff --git a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini b/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini deleted file mode 100644 index db4d6e3321d..00000000000 --- a/tests/wpt/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini +++ /dev/null @@ -1,102 +0,0 @@ -[event-handler-attributes-windowless-body.html] - [auxclick is unaffected on a windowless body] - expected: FAIL - - [contextlost is unaffected on a windowless body] - expected: FAIL - - [contextrestored is unaffected on a windowless body] - expected: FAIL - - [slotchange is unaffected on a windowless body] - expected: FAIL - - [webkitanimationend is unaffected on a windowless body] - expected: FAIL - - [webkitanimationiteration is unaffected on a windowless body] - expected: FAIL - - [webkitanimationstart is unaffected on a windowless body] - expected: FAIL - - [webkittransitionend is unaffected on a windowless body] - expected: FAIL - - [auxclick is unaffected on a windowless frameset] - expected: FAIL - - [contextlost is unaffected on a windowless frameset] - expected: FAIL - - [contextrestored is unaffected on a windowless frameset] - expected: FAIL - - [slotchange is unaffected on a windowless frameset] - expected: FAIL - - [webkitanimationend is unaffected on a windowless frameset] - expected: FAIL - - [webkitanimationiteration is unaffected on a windowless frameset] - expected: FAIL - - [webkitanimationstart is unaffected on a windowless frameset] - expected: FAIL - - [webkittransitionend is unaffected on a windowless frameset] - expected: FAIL - - [beforeinput is unaffected on a windowless body] - expected: FAIL - - [beforematch is unaffected on a windowless body] - expected: FAIL - - [scrollend is unaffected on a windowless body] - expected: FAIL - - [beforeinput is unaffected on a windowless frameset] - expected: FAIL - - [beforematch is unaffected on a windowless frameset] - expected: FAIL - - [scrollend is unaffected on a windowless frameset] - expected: FAIL - - [beforetoggle is unaffected on a windowless body] - expected: FAIL - - [beforetoggle is unaffected on a windowless frameset] - expected: FAIL - - [Return null when getting the pagereveal event handler of a windowless body] - expected: FAIL - - [Ignore setting of pagereveal window event handlers on windowless body] - expected: FAIL - - [Return null when getting the pagereveal event handler of a windowless frameset] - expected: FAIL - - [Ignore setting of pagereveal window event handlers on windowless frameset] - expected: FAIL - - [Return null when getting the pageswap event handler of a windowless body] - expected: FAIL - - [Ignore setting of pageswap window event handlers on windowless body] - expected: FAIL - - [Return null when getting the pageswap event handler of a windowless frameset] - expected: FAIL - - [Ignore setting of pageswap window event handlers on windowless frameset] - expected: FAIL - - [command is unaffected on a windowless body] - expected: FAIL - - [command is unaffected on a windowless frameset] - expected: FAIL diff --git a/tests/wpt/meta/trusted-types/trusted-types-event-handlers.html.ini b/tests/wpt/meta/trusted-types/trusted-types-event-handlers.html.ini index 225c4d84121..205dd5886a8 100644 --- a/tests/wpt/meta/trusted-types/trusted-types-event-handlers.html.ini +++ b/tests/wpt/meta/trusted-types/trusted-types-event-handlers.html.ini @@ -23,9 +23,21 @@ [Event handler div.onpaste should be blocked.] expected: FAIL + [Event handler div.onauxclick should be blocked.] + expected: FAIL + [Event handler div.onabort should be blocked.] expected: FAIL + [Event handler div.onbeforeinput should be blocked.] + expected: FAIL + + [Event handler div.onbeforematch should be blocked.] + expected: FAIL + + [Event handler div.onbeforetoggle should be blocked.] + expected: FAIL + [Event handler div.onblur should be blocked.] expected: FAIL @@ -47,9 +59,18 @@ [Event handler div.onclose should be blocked.] expected: FAIL + [Event handler div.oncommand should be blocked.] + expected: FAIL + [Event handler div.oncontextmenu should be blocked.] expected: FAIL + [Event handler div.oncontextlost should be blocked.] + expected: FAIL + + [Event handler div.oncontextrestored should be blocked.] + expected: FAIL + [Event handler div.oncuechange should be blocked.] expected: FAIL @@ -173,6 +194,9 @@ [Event handler div.onscroll should be blocked.] expected: FAIL + [Event handler div.onscrollend should be blocked.] + expected: FAIL + [Event handler div.onsecuritypolicyviolation should be blocked.] expected: FAIL @@ -188,6 +212,9 @@ [Event handler div.onshow should be blocked.] expected: FAIL + [Event handler div.onslotchange should be blocked.] + expected: FAIL + [Event handler div.onstalled should be blocked.] expected: FAIL @@ -229,3 +256,15 @@ [Event handler div.onselectionchange should be blocked.] expected: FAIL + + [Event handler div.onwebkitanimationend should be blocked.] + expected: FAIL + + [Event handler div.onwebkitanimationiteration should be blocked.] + expected: FAIL + + [Event handler div.onwebkitanimationstart should be blocked.] + expected: FAIL + + [Event handler div.onwebkittransitionend should be blocked.] + expected: FAIL diff --git a/tests/wpt/meta/webmessaging/messageerror.html.ini b/tests/wpt/meta/webmessaging/messageerror.html.ini deleted file mode 100644 index 9b875551f90..00000000000 --- a/tests/wpt/meta/webmessaging/messageerror.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[messageerror.html] - [The onmessageerror content attribute must be compiled into the onmessageerror property] - expected: FAIL - - [The onmessageerror content attribute must execute when an event is dispatched on the window] - expected: FAIL