Diff
Modified: trunk/LayoutTests/ChangeLog (281568 => 281569)
--- trunk/LayoutTests/ChangeLog 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/ChangeLog 2021-08-25 18:45:14 UTC (rev 281569)
@@ -1,3 +1,22 @@
+2021-08-25 Sonia Singla <[email protected]>
+
+ Add onsecuritypolicyviolation on GlobalEventHandlers
+ https://bugs.webkit.org/show_bug.cgi?id=229381
+
+ Reviewed by Frédéric Wang.
+
+ * http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt:
+ * platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt:
+ * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+ * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+ * platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt:
+ * platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+ * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+ * platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt:
+ * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+ * platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt:
+ * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt:
+
2021-08-25 Eric Hutchison <[email protected]>
[Mac wk1]imported/w3c/web-platform-tests/css/css-fonts/downloadable-font-in-iframe-print.html is a flaky image-only failure.
Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt (281568 => 281569)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -3,7 +3,7 @@
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-FAIL typeof document.onsecuritypolicyviolation should be object. Was undefined.
+PASS typeof document.onsecuritypolicyviolation is "object"
PASS typeof SecurityPolicyViolationEvent is "function"
PASS typeof window.e is "object"
PASS window.e.documentURI is "documentURIValue"
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (281568 => 281569)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2021-08-25 18:45:14 UTC (rev 281569)
@@ -1,3 +1,16 @@
+2021-08-25 Sonia Singla <[email protected]>
+
+ Add onsecuritypolicyviolation on GlobalEventHandlers
+ https://bugs.webkit.org/show_bug.cgi?id=229381
+
+ Reviewed by Frédéric Wang.
+
+ * web-platform-tests/html/dom/idlharness.https-expected.txt:
+ * web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt:
+ * web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt:
+ * web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt:
+ * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt:
+
2021-08-24 Chris Dumez <[email protected]>
Geolocation API should callback with error if doc is not fully active
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (281568 => 281569)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -177,7 +177,7 @@
PASS HTMLElement interface: attribute onreset
PASS HTMLElement interface: attribute onresize
PASS HTMLElement interface: attribute onscroll
-FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS HTMLElement interface: attribute onsecuritypolicyviolation
PASS HTMLElement interface: attribute onseeked
PASS HTMLElement interface: attribute onseeking
PASS HTMLElement interface: attribute onselect
@@ -267,7 +267,7 @@
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type
-FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onselect" with the proper type
@@ -4236,7 +4236,7 @@
PASS Window interface: attribute onreset
PASS Window interface: attribute onresize
PASS Window interface: attribute onscroll
-FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing
+PASS Window interface: attribute onsecuritypolicyviolation
PASS Window interface: attribute onseeked
PASS Window interface: attribute onseeking
PASS Window interface: attribute onselect
@@ -4380,7 +4380,7 @@
PASS Window interface: window must inherit property "onreset" with the proper type
PASS Window interface: window must inherit property "onresize" with the proper type
PASS Window interface: window must inherit property "onscroll" with the proper type
-FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing
+PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
PASS Window interface: window must inherit property "onseeked" with the proper type
PASS Window interface: window must inherit property "onseeking" with the proper type
PASS Window interface: window must inherit property "onselect" with the proper type
@@ -5081,7 +5081,7 @@
PASS SVGElement interface: attribute onreset
PASS SVGElement interface: attribute onresize
PASS SVGElement interface: attribute onscroll
-FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS SVGElement interface: attribute onsecuritypolicyviolation
PASS SVGElement interface: attribute onseeked
PASS SVGElement interface: attribute onseeking
PASS SVGElement interface: attribute onselect
@@ -5223,7 +5223,7 @@
PASS Document interface: attribute onreset
PASS Document interface: attribute onresize
PASS Document interface: attribute onscroll
-FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS Document interface: attribute onsecuritypolicyviolation
PASS Document interface: attribute onseeked
PASS Document interface: attribute onseeking
PASS Document interface: attribute onselect
@@ -5344,7 +5344,7 @@
PASS Document interface: iframe.contentDocument must inherit property "onreset" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type
-FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onselect" with the proper type
@@ -5465,7 +5465,7 @@
PASS Document interface: new Document() must inherit property "onreset" with the proper type
PASS Document interface: new Document() must inherit property "onresize" with the proper type
PASS Document interface: new Document() must inherit property "onscroll" with the proper type
-FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: new Document() must inherit property "onseeked" with the proper type
PASS Document interface: new Document() must inherit property "onseeking" with the proper type
PASS Document interface: new Document() must inherit property "onselect" with the proper type
@@ -5586,7 +5586,7 @@
PASS Document interface: documentWithHandlers must inherit property "onreset" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type
-FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain
+PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onselect" with the proper type
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt (281568 => 281569)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -239,10 +239,10 @@
PASS onscroll: the content attribute must be compiled into a function as the corresponding property
PASS onscroll: the content attribute must execute when an event is dispatched
PASS onscroll: dispatching an Event at a <meta> element must trigger element.onscroll
-FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: Window has an own property named "onsecuritypolicyviolation" expected true got false
-FAIL onsecuritypolicyviolation: the default value must be null assert_equals: The default value of the property is null for a Window instance expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property assert_equals: The onsecuritypolicyviolation property must be a function expected "function" but got "undefined"
-FAIL onsecuritypolicyviolation: the content attribute must execute when an event is dispatched assert_true: Dispatching an event must run the code expected true got undefined
+PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
+PASS onsecuritypolicyviolation: the default value must be null
+PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
+PASS onsecuritypolicyviolation: the content attribute must execute when an event is dispatched
PASS onsecuritypolicyviolation: dispatching an Event at a <meta> element must trigger element.onsecuritypolicyviolation
PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
PASS onseeked: the default value must be null
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt (281568 => 281569)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -64,7 +64,7 @@
PASS not shadowed progress (document.body)
PASS not shadowed ratechange (document.body)
PASS not shadowed reset (document.body)
-FAIL not shadowed securitypolicyviolation (document.body) assert_equals: alternative body should reflect expected (object) null but got (undefined) undefined
+PASS not shadowed securitypolicyviolation (document.body)
PASS not shadowed seeked (document.body)
PASS not shadowed seeking (document.body)
PASS not shadowed select (document.body)
@@ -171,7 +171,7 @@
PASS not shadowed progress (document.createElement("body"))
PASS not shadowed ratechange (document.createElement("body"))
PASS not shadowed reset (document.createElement("body"))
-FAIL not shadowed securitypolicyviolation (document.createElement("body")) assert_equals: body should reflect expected (object) null but got (undefined) undefined
+PASS not shadowed securitypolicyviolation (document.createElement("body"))
PASS not shadowed seeked (document.createElement("body"))
PASS not shadowed seeking (document.createElement("body"))
PASS not shadowed select (document.createElement("body"))
@@ -278,7 +278,7 @@
PASS not shadowed progress (window)
PASS not shadowed ratechange (window)
PASS not shadowed reset (window)
-FAIL not shadowed securitypolicyviolation (window) assert_equals: body should reflect expected (object) null but got (undefined) undefined
+PASS not shadowed securitypolicyviolation (window)
PASS not shadowed seeked (window)
PASS not shadowed seeking (window)
PASS not shadowed select (window)
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt (281568 => 281569)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -86,7 +86,7 @@
PASS progress is unaffected on a windowless body
PASS ratechange is unaffected on a windowless body
PASS reset is unaffected on a windowless body
-FAIL securitypolicyviolation is unaffected on a windowless body assert_equals: expected (object) null but got (undefined) undefined
+PASS securitypolicyviolation is unaffected on a windowless body
PASS seeked is unaffected on a windowless body
PASS seeking is unaffected on a windowless body
PASS select is unaffected on a windowless body
@@ -193,7 +193,7 @@
PASS progress is unaffected on a windowless frameset
PASS ratechange is unaffected on a windowless frameset
PASS reset is unaffected on a windowless frameset
-FAIL securitypolicyviolation is unaffected on a windowless frameset assert_equals: expected (object) null but got (undefined) undefined
+PASS securitypolicyviolation is unaffected on a windowless frameset
PASS seeked is unaffected on a windowless frameset
PASS seeking is unaffected on a windowless frameset
PASS select is unaffected on a windowless frameset
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (281568 => 281569)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -244,11 +244,11 @@
PASS onscroll: the content attribute must be compiled into a function as the corresponding property
PASS onscroll: dynamic changes on the attribute
PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll
-FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false
-FAIL onsecuritypolicyviolation: the default value must be null assert_equals: The default value of the property is null for a MathMLMathElement instance expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property assert_equals: The onsecuritypolicyviolation property must be a function expected "function" but got "undefined"
-FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation assert_equals: The event must be fired at the <math> element expected (object) Element node <math></math> but got (undefined) undefined
+PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
+PASS onsecuritypolicyviolation: the default value must be null
+PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
+PASS onsecuritypolicyviolation: dynamic changes on the attribute
+PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
PASS onseeked: the default value must be null
PASS onseeked: the content attribute must be compiled into a function as the corresponding property
Modified: trunk/LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -239,11 +239,11 @@
PASS onscroll: the content attribute must be compiled into a function as the corresponding property
PASS onscroll: dynamic changes on the attribute
PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll
-FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false
-FAIL onsecuritypolicyviolation: the default value must be null assert_equals: The default value of the property is null for a MathMLMathElement instance expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property assert_equals: The onsecuritypolicyviolation property must be a function expected "function" but got "undefined"
-FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation assert_equals: The event must be fired at the <math> element expected (object) Element node <math></math> but got (undefined) undefined
+PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
+PASS onsecuritypolicyviolation: the default value must be null
+PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
+PASS onsecuritypolicyviolation: dynamic changes on the attribute
+PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
PASS onseeked: the default value must be null
PASS onseeked: the content attribute must be compiled into a function as the corresponding property
Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -309,7 +309,7 @@
PASS HTMLElement interface: attribute onreset
PASS HTMLElement interface: attribute onresize
PASS HTMLElement interface: attribute onscroll
-FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS HTMLElement interface: attribute onsecuritypolicyviolation
PASS HTMLElement interface: attribute onseeked
PASS HTMLElement interface: attribute onseeking
PASS HTMLElement interface: attribute onselect
@@ -404,7 +404,7 @@
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type
-FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onselect" with the proper type
@@ -4449,7 +4449,7 @@
PASS Window interface: attribute onreset
PASS Window interface: attribute onresize
PASS Window interface: attribute onscroll
-FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing
+PASS Window interface: attribute onsecuritypolicyviolation
PASS Window interface: attribute onseeked
PASS Window interface: attribute onseeking
PASS Window interface: attribute onselect
@@ -4599,7 +4599,7 @@
PASS Window interface: window must inherit property "onreset" with the proper type
PASS Window interface: window must inherit property "onresize" with the proper type
PASS Window interface: window must inherit property "onscroll" with the proper type
-FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing
+PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
PASS Window interface: window must inherit property "onseeked" with the proper type
PASS Window interface: window must inherit property "onseeking" with the proper type
PASS Window interface: window must inherit property "onselect" with the proper type
@@ -5314,7 +5314,7 @@
PASS SVGElement interface: attribute onreset
PASS SVGElement interface: attribute onresize
PASS SVGElement interface: attribute onscroll
-FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS SVGElement interface: attribute onsecuritypolicyviolation
PASS SVGElement interface: attribute onseeked
PASS SVGElement interface: attribute onseeking
PASS SVGElement interface: attribute onselect
@@ -5448,7 +5448,7 @@
PASS Document interface: attribute onreset
PASS Document interface: attribute onresize
PASS Document interface: attribute onscroll
-FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS Document interface: attribute onsecuritypolicyviolation
PASS Document interface: attribute onseeked
PASS Document interface: attribute onseeking
PASS Document interface: attribute onselect
@@ -5573,7 +5573,7 @@
PASS Document interface: iframe.contentDocument must inherit property "onreset" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type
-FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onselect" with the proper type
@@ -5698,7 +5698,7 @@
PASS Document interface: new Document() must inherit property "onreset" with the proper type
PASS Document interface: new Document() must inherit property "onresize" with the proper type
PASS Document interface: new Document() must inherit property "onscroll" with the proper type
-FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: new Document() must inherit property "onseeked" with the proper type
PASS Document interface: new Document() must inherit property "onseeking" with the proper type
PASS Document interface: new Document() must inherit property "onselect" with the proper type
@@ -5823,7 +5823,7 @@
PASS Document interface: documentWithHandlers must inherit property "onreset" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type
-FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain
+PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onselect" with the proper type
Modified: trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -309,7 +309,7 @@
PASS HTMLElement interface: attribute onreset
PASS HTMLElement interface: attribute onresize
PASS HTMLElement interface: attribute onscroll
-FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS HTMLElement interface: attribute onsecuritypolicyviolation
PASS HTMLElement interface: attribute onseeked
PASS HTMLElement interface: attribute onseeking
PASS HTMLElement interface: attribute onselect
@@ -404,7 +404,7 @@
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type
-FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onselect" with the proper type
@@ -4439,7 +4439,7 @@
PASS Window interface: attribute onreset
PASS Window interface: attribute onresize
PASS Window interface: attribute onscroll
-FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing
+PASS Window interface: attribute onsecuritypolicyviolation
PASS Window interface: attribute onseeked
PASS Window interface: attribute onseeking
PASS Window interface: attribute onselect
@@ -4589,7 +4589,7 @@
PASS Window interface: window must inherit property "onreset" with the proper type
PASS Window interface: window must inherit property "onresize" with the proper type
PASS Window interface: window must inherit property "onscroll" with the proper type
-FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing
+PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
PASS Window interface: window must inherit property "onseeked" with the proper type
PASS Window interface: window must inherit property "onseeking" with the proper type
PASS Window interface: window must inherit property "onselect" with the proper type
@@ -5304,7 +5304,7 @@
PASS SVGElement interface: attribute onreset
PASS SVGElement interface: attribute onresize
PASS SVGElement interface: attribute onscroll
-FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS SVGElement interface: attribute onsecuritypolicyviolation
PASS SVGElement interface: attribute onseeked
PASS SVGElement interface: attribute onseeking
PASS SVGElement interface: attribute onselect
@@ -5438,7 +5438,7 @@
PASS Document interface: attribute onreset
PASS Document interface: attribute onresize
PASS Document interface: attribute onscroll
-FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS Document interface: attribute onsecuritypolicyviolation
PASS Document interface: attribute onseeked
PASS Document interface: attribute onseeking
PASS Document interface: attribute onselect
@@ -5563,7 +5563,7 @@
PASS Document interface: iframe.contentDocument must inherit property "onreset" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type
-FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onselect" with the proper type
@@ -5688,7 +5688,7 @@
PASS Document interface: new Document() must inherit property "onreset" with the proper type
PASS Document interface: new Document() must inherit property "onresize" with the proper type
PASS Document interface: new Document() must inherit property "onscroll" with the proper type
-FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: new Document() must inherit property "onseeked" with the proper type
PASS Document interface: new Document() must inherit property "onseeking" with the proper type
PASS Document interface: new Document() must inherit property "onselect" with the proper type
@@ -5813,7 +5813,7 @@
PASS Document interface: documentWithHandlers must inherit property "onreset" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type
-FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain
+PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onselect" with the proper type
Modified: trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -239,11 +239,11 @@
PASS onscroll: the content attribute must be compiled into a function as the corresponding property
PASS onscroll: dynamic changes on the attribute
PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll
-FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false
-FAIL onsecuritypolicyviolation: the default value must be null assert_equals: The default value of the property is null for a MathMLMathElement instance expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property assert_equals: The onsecuritypolicyviolation property must be a function expected "function" but got "undefined"
-FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation assert_equals: The event must be fired at the <math> element expected (object) Element node <math></math> but got (undefined) undefined
+PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
+PASS onsecuritypolicyviolation: the default value must be null
+PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
+PASS onsecuritypolicyviolation: dynamic changes on the attribute
+PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
PASS onseeked: the default value must be null
PASS onseeked: the content attribute must be compiled into a function as the corresponding property
Modified: trunk/LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -309,7 +309,7 @@
PASS HTMLElement interface: attribute onreset
PASS HTMLElement interface: attribute onresize
PASS HTMLElement interface: attribute onscroll
-FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS HTMLElement interface: attribute onsecuritypolicyviolation
PASS HTMLElement interface: attribute onseeked
PASS HTMLElement interface: attribute onseeking
PASS HTMLElement interface: attribute onselect
@@ -404,7 +404,7 @@
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type
-FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onselect" with the proper type
@@ -4449,7 +4449,7 @@
PASS Window interface: attribute onreset
PASS Window interface: attribute onresize
PASS Window interface: attribute onscroll
-FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing
+PASS Window interface: attribute onsecuritypolicyviolation
PASS Window interface: attribute onseeked
PASS Window interface: attribute onseeking
PASS Window interface: attribute onselect
@@ -4599,7 +4599,7 @@
PASS Window interface: window must inherit property "onreset" with the proper type
PASS Window interface: window must inherit property "onresize" with the proper type
PASS Window interface: window must inherit property "onscroll" with the proper type
-FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing
+PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
PASS Window interface: window must inherit property "onseeked" with the proper type
PASS Window interface: window must inherit property "onseeking" with the proper type
PASS Window interface: window must inherit property "onselect" with the proper type
@@ -5314,7 +5314,7 @@
PASS SVGElement interface: attribute onreset
PASS SVGElement interface: attribute onresize
PASS SVGElement interface: attribute onscroll
-FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS SVGElement interface: attribute onsecuritypolicyviolation
PASS SVGElement interface: attribute onseeked
PASS SVGElement interface: attribute onseeking
PASS SVGElement interface: attribute onselect
@@ -5448,7 +5448,7 @@
PASS Document interface: attribute onreset
PASS Document interface: attribute onresize
PASS Document interface: attribute onscroll
-FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS Document interface: attribute onsecuritypolicyviolation
PASS Document interface: attribute onseeked
PASS Document interface: attribute onseeking
PASS Document interface: attribute onselect
@@ -5573,7 +5573,7 @@
PASS Document interface: iframe.contentDocument must inherit property "onreset" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type
-FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onselect" with the proper type
@@ -5698,7 +5698,7 @@
PASS Document interface: new Document() must inherit property "onreset" with the proper type
PASS Document interface: new Document() must inherit property "onresize" with the proper type
PASS Document interface: new Document() must inherit property "onscroll" with the proper type
-FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: new Document() must inherit property "onseeked" with the proper type
PASS Document interface: new Document() must inherit property "onseeking" with the proper type
PASS Document interface: new Document() must inherit property "onselect" with the proper type
@@ -5823,7 +5823,7 @@
PASS Document interface: documentWithHandlers must inherit property "onreset" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type
-FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain
+PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onselect" with the proper type
Modified: trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -309,7 +309,7 @@
PASS HTMLElement interface: attribute onreset
PASS HTMLElement interface: attribute onresize
PASS HTMLElement interface: attribute onscroll
-FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS HTMLElement interface: attribute onsecuritypolicyviolation
PASS HTMLElement interface: attribute onseeked
PASS HTMLElement interface: attribute onseeking
PASS HTMLElement interface: attribute onselect
@@ -404,7 +404,7 @@
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type
-FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onselect" with the proper type
@@ -4449,7 +4449,7 @@
PASS Window interface: attribute onreset
PASS Window interface: attribute onresize
PASS Window interface: attribute onscroll
-FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing
+PASS Window interface: attribute onsecuritypolicyviolation
PASS Window interface: attribute onseeked
PASS Window interface: attribute onseeking
PASS Window interface: attribute onselect
@@ -4599,7 +4599,7 @@
PASS Window interface: window must inherit property "onreset" with the proper type
PASS Window interface: window must inherit property "onresize" with the proper type
PASS Window interface: window must inherit property "onscroll" with the proper type
-FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing
+PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
PASS Window interface: window must inherit property "onseeked" with the proper type
PASS Window interface: window must inherit property "onseeking" with the proper type
PASS Window interface: window must inherit property "onselect" with the proper type
@@ -5314,7 +5314,7 @@
PASS SVGElement interface: attribute onreset
PASS SVGElement interface: attribute onresize
PASS SVGElement interface: attribute onscroll
-FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS SVGElement interface: attribute onsecuritypolicyviolation
PASS SVGElement interface: attribute onseeked
PASS SVGElement interface: attribute onseeking
PASS SVGElement interface: attribute onselect
@@ -5448,7 +5448,7 @@
PASS Document interface: attribute onreset
PASS Document interface: attribute onresize
PASS Document interface: attribute onscroll
-FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS Document interface: attribute onsecuritypolicyviolation
PASS Document interface: attribute onseeked
PASS Document interface: attribute onseeking
PASS Document interface: attribute onselect
@@ -5573,7 +5573,7 @@
PASS Document interface: iframe.contentDocument must inherit property "onreset" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type
-FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onselect" with the proper type
@@ -5698,7 +5698,7 @@
PASS Document interface: new Document() must inherit property "onreset" with the proper type
PASS Document interface: new Document() must inherit property "onresize" with the proper type
PASS Document interface: new Document() must inherit property "onscroll" with the proper type
-FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: new Document() must inherit property "onseeked" with the proper type
PASS Document interface: new Document() must inherit property "onseeking" with the proper type
PASS Document interface: new Document() must inherit property "onselect" with the proper type
@@ -5823,7 +5823,7 @@
PASS Document interface: documentWithHandlers must inherit property "onreset" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type
-FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain
+PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onselect" with the proper type
Modified: trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -239,11 +239,11 @@
PASS onscroll: the content attribute must be compiled into a function as the corresponding property
PASS onscroll: dynamic changes on the attribute
PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll
-FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false
-FAIL onsecuritypolicyviolation: the default value must be null assert_equals: The default value of the property is null for a MathMLMathElement instance expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property assert_equals: The onsecuritypolicyviolation property must be a function expected "function" but got "undefined"
-FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation assert_equals: The event must be fired at the <math> element expected (object) Element node <math></math> but got (undefined) undefined
+PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
+PASS onsecuritypolicyviolation: the default value must be null
+PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
+PASS onsecuritypolicyviolation: dynamic changes on the attribute
+PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
PASS onseeked: the default value must be null
PASS onseeked: the content attribute must be compiled into a function as the corresponding property
Modified: trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -309,7 +309,7 @@
PASS HTMLElement interface: attribute onreset
PASS HTMLElement interface: attribute onresize
PASS HTMLElement interface: attribute onscroll
-FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS HTMLElement interface: attribute onsecuritypolicyviolation
PASS HTMLElement interface: attribute onseeked
PASS HTMLElement interface: attribute onseeking
PASS HTMLElement interface: attribute onselect
@@ -404,7 +404,7 @@
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type
-FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onselect" with the proper type
@@ -4449,7 +4449,7 @@
PASS Window interface: attribute onreset
PASS Window interface: attribute onresize
PASS Window interface: attribute onscroll
-FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing
+PASS Window interface: attribute onsecuritypolicyviolation
PASS Window interface: attribute onseeked
PASS Window interface: attribute onseeking
PASS Window interface: attribute onselect
@@ -4599,7 +4599,7 @@
PASS Window interface: window must inherit property "onreset" with the proper type
PASS Window interface: window must inherit property "onresize" with the proper type
PASS Window interface: window must inherit property "onscroll" with the proper type
-FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing
+PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
PASS Window interface: window must inherit property "onseeked" with the proper type
PASS Window interface: window must inherit property "onseeking" with the proper type
PASS Window interface: window must inherit property "onselect" with the proper type
@@ -5314,7 +5314,7 @@
PASS SVGElement interface: attribute onreset
PASS SVGElement interface: attribute onresize
PASS SVGElement interface: attribute onscroll
-FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS SVGElement interface: attribute onsecuritypolicyviolation
PASS SVGElement interface: attribute onseeked
PASS SVGElement interface: attribute onseeking
PASS SVGElement interface: attribute onselect
@@ -5448,7 +5448,7 @@
PASS Document interface: attribute onreset
PASS Document interface: attribute onresize
PASS Document interface: attribute onscroll
-FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS Document interface: attribute onsecuritypolicyviolation
PASS Document interface: attribute onseeked
PASS Document interface: attribute onseeking
PASS Document interface: attribute onselect
@@ -5573,7 +5573,7 @@
PASS Document interface: iframe.contentDocument must inherit property "onreset" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type
-FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onselect" with the proper type
@@ -5698,7 +5698,7 @@
PASS Document interface: new Document() must inherit property "onreset" with the proper type
PASS Document interface: new Document() must inherit property "onresize" with the proper type
PASS Document interface: new Document() must inherit property "onscroll" with the proper type
-FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: new Document() must inherit property "onseeked" with the proper type
PASS Document interface: new Document() must inherit property "onseeking" with the proper type
PASS Document interface: new Document() must inherit property "onselect" with the proper type
@@ -5823,7 +5823,7 @@
PASS Document interface: documentWithHandlers must inherit property "onreset" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type
-FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain
+PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onselect" with the proper type
Modified: trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -239,11 +239,11 @@
PASS onscroll: the content attribute must be compiled into a function as the corresponding property
PASS onscroll: dynamic changes on the attribute
PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll
-FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false
-FAIL onsecuritypolicyviolation: the default value must be null assert_equals: The default value of the property is null for a MathMLMathElement instance expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property assert_equals: The onsecuritypolicyviolation property must be a function expected "function" but got "undefined"
-FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined
-FAIL onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation assert_equals: The event must be fired at the <math> element expected (object) Element node <math></math> but got (undefined) undefined
+PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
+PASS onsecuritypolicyviolation: the default value must be null
+PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
+PASS onsecuritypolicyviolation: dynamic changes on the attribute
+PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
PASS onseeked: the default value must be null
PASS onseeked: the content attribute must be compiled into a function as the corresponding property
Modified: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (281568 => 281569)
--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt 2021-08-25 18:45:14 UTC (rev 281569)
@@ -309,7 +309,7 @@
PASS HTMLElement interface: attribute onreset
PASS HTMLElement interface: attribute onresize
PASS HTMLElement interface: attribute onscroll
-FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS HTMLElement interface: attribute onsecuritypolicyviolation
PASS HTMLElement interface: attribute onseeked
PASS HTMLElement interface: attribute onseeking
PASS HTMLElement interface: attribute onselect
@@ -404,7 +404,7 @@
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type
-FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
PASS HTMLElement interface: document.createElement("noscript") must inherit property "onselect" with the proper type
@@ -4449,7 +4449,7 @@
PASS Window interface: attribute onreset
PASS Window interface: attribute onresize
PASS Window interface: attribute onscroll
-FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing
+PASS Window interface: attribute onsecuritypolicyviolation
PASS Window interface: attribute onseeked
PASS Window interface: attribute onseeking
PASS Window interface: attribute onselect
@@ -4599,7 +4599,7 @@
PASS Window interface: window must inherit property "onreset" with the proper type
PASS Window interface: window must inherit property "onresize" with the proper type
PASS Window interface: window must inherit property "onscroll" with the proper type
-FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing
+PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
PASS Window interface: window must inherit property "onseeked" with the proper type
PASS Window interface: window must inherit property "onseeking" with the proper type
PASS Window interface: window must inherit property "onselect" with the proper type
@@ -5314,7 +5314,7 @@
PASS SVGElement interface: attribute onreset
PASS SVGElement interface: attribute onresize
PASS SVGElement interface: attribute onscroll
-FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS SVGElement interface: attribute onsecuritypolicyviolation
PASS SVGElement interface: attribute onseeked
PASS SVGElement interface: attribute onseeking
PASS SVGElement interface: attribute onselect
@@ -5448,7 +5448,7 @@
PASS Document interface: attribute onreset
PASS Document interface: attribute onresize
PASS Document interface: attribute onscroll
-FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
+PASS Document interface: attribute onsecuritypolicyviolation
PASS Document interface: attribute onseeked
PASS Document interface: attribute onseeking
PASS Document interface: attribute onselect
@@ -5573,7 +5573,7 @@
PASS Document interface: iframe.contentDocument must inherit property "onreset" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type
-FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
PASS Document interface: iframe.contentDocument must inherit property "onselect" with the proper type
@@ -5698,7 +5698,7 @@
PASS Document interface: new Document() must inherit property "onreset" with the proper type
PASS Document interface: new Document() must inherit property "onresize" with the proper type
PASS Document interface: new Document() must inherit property "onscroll" with the proper type
-FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain
+PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: new Document() must inherit property "onseeked" with the proper type
PASS Document interface: new Document() must inherit property "onseeking" with the proper type
PASS Document interface: new Document() must inherit property "onselect" with the proper type
@@ -5823,7 +5823,7 @@
PASS Document interface: documentWithHandlers must inherit property "onreset" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type
-FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain
+PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
PASS Document interface: documentWithHandlers must inherit property "onselect" with the proper type
Modified: trunk/Source/WebCore/ChangeLog (281568 => 281569)
--- trunk/Source/WebCore/ChangeLog 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/Source/WebCore/ChangeLog 2021-08-25 18:45:14 UTC (rev 281569)
@@ -1,3 +1,25 @@
+2021-08-25 Sonia Singla <[email protected]>
+
+ Add onsecuritypolicyviolation on GlobalEventHandlers
+ https://bugs.webkit.org/show_bug.cgi?id=229381
+
+ Reviewed by Frédéric Wang.
+
+ `onsecuritypolicyviolation` attribute has been added to
+ `GlobalEventHandlers` by https://github.com/whatwg/html/pull/2651
+
+ This patch supports it.
+
+ Tests: imported/w3c/web-platform-tests/dom/idlharness.window.html
+ imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events.html
+ imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt
+ imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html
+
+ * dom/GlobalEventHandlers.idl:
+ * html/HTMLAttributeNames.in:
+ * html/HTMLElement.cpp:
+ (WebCore::HTMLElement::createEventHandlerNameMap):
+
2021-08-25 Alan Bujtas <[email protected]>
[IFC][Integration] Non-empty inline boxes may affect overflow scroll
Modified: trunk/Source/WebCore/dom/GlobalEventHandlers.idl (281568 => 281569)
--- trunk/Source/WebCore/dom/GlobalEventHandlers.idl 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/Source/WebCore/dom/GlobalEventHandlers.idl 2021-08-25 18:45:14 UTC (rev 281569)
@@ -80,8 +80,7 @@
attribute EventHandler onreset;
attribute EventHandler onresize;
attribute EventHandler onscroll;
- // FIXME: Implement 'onsecuritypolicyviolation'.
- // attribute EventHandler onsecuritypolicyviolation;
+ attribute EventHandler onsecuritypolicyviolation;
attribute EventHandler onseeked;
attribute EventHandler onseeking;
attribute EventHandler onselect;
Modified: trunk/Source/WebCore/html/HTMLAttributeNames.in (281568 => 281569)
--- trunk/Source/WebCore/html/HTMLAttributeNames.in 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/Source/WebCore/html/HTMLAttributeNames.in 2021-08-25 18:45:14 UTC (rev 281569)
@@ -296,6 +296,7 @@
onresize
onscroll
onsearch
+onsecuritypolicyviolation
onseeked
onseeking
onselect
Modified: trunk/Source/WebCore/html/HTMLElement.cpp (281568 => 281569)
--- trunk/Source/WebCore/html/HTMLElement.cpp 2021-08-25 18:42:06 UTC (rev 281568)
+++ trunk/Source/WebCore/html/HTMLElement.cpp 2021-08-25 18:45:14 UTC (rev 281569)
@@ -331,6 +331,7 @@
&onresizeAttr.get(),
&onscrollAttr.get(),
&onsearchAttr.get(),
+ &onsecuritypolicyviolationAttr.get(),
&onseekedAttr.get(),
&onseekingAttr.get(),
&onselectAttr.get(),