Changeset 281569 in webkit
- Timestamp:
- Aug 25, 2021 11:45:14 AM (11 months ago)
- Location:
- trunk
- Files:
-
- 22 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (modified) (9 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt (modified) (3 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (modified) (1 diff)
-
LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (modified) (1 diff)
-
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (modified) (9 diffs)
-
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (modified) (9 diffs)
-
LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (modified) (9 diffs)
-
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (modified) (9 diffs)
-
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (modified) (9 diffs)
-
LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt (modified) (1 diff)
-
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt (modified) (9 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/dom/GlobalEventHandlers.idl (modified) (1 diff)
-
Source/WebCore/html/HTMLAttributeNames.in (modified) (1 diff)
-
Source/WebCore/html/HTMLElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r281568 r281569 1 2021-08-25 Sonia Singla <ssingla@igalia.com> 2 3 Add onsecuritypolicyviolation on GlobalEventHandlers 4 https://bugs.webkit.org/show_bug.cgi?id=229381 5 6 Reviewed by Frédéric Wang. 7 8 * http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt: 9 * platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: 10 * platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 11 * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 12 * platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: 13 * platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 14 * platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 15 * platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: 16 * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 17 * platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: 18 * platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 19 1 20 2021-08-25 Eric Hutchison <ehutchison@apple.com> 2 21 -
trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt
r278042 r281569 4 4 5 5 6 FAIL typeof document.onsecuritypolicyviolation should be object. Was undefined. 6 PASS typeof document.onsecuritypolicyviolation is "object" 7 7 PASS typeof SecurityPolicyViolationEvent is "function" 8 8 PASS typeof window.e is "object" -
trunk/LayoutTests/imported/w3c/ChangeLog
r281520 r281569 1 2021-08-25 Sonia Singla <ssingla@igalia.com> 2 3 Add onsecuritypolicyviolation on GlobalEventHandlers 4 https://bugs.webkit.org/show_bug.cgi?id=229381 5 6 Reviewed by Frédéric Wang. 7 8 * web-platform-tests/html/dom/idlharness.https-expected.txt: 9 * web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt: 10 * web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt: 11 * web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt: 12 * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: 13 1 14 2021-08-24 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r280703 r281569 178 178 PASS HTMLElement interface: attribute onresize 179 179 PASS HTMLElement interface: attribute onscroll 180 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 180 PASS HTMLElement interface: attribute onsecuritypolicyviolation 181 181 PASS HTMLElement interface: attribute onseeked 182 182 PASS HTMLElement interface: attribute onseeking … … 268 268 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type 269 269 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type 270 FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 270 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type 271 271 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type 272 272 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type … … 4237 4237 PASS Window interface: attribute onresize 4238 4238 PASS Window interface: attribute onscroll 4239 FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing 4239 PASS Window interface: attribute onsecuritypolicyviolation 4240 4240 PASS Window interface: attribute onseeked 4241 4241 PASS Window interface: attribute onseeking … … 4381 4381 PASS Window interface: window must inherit property "onresize" with the proper type 4382 4382 PASS Window interface: window must inherit property "onscroll" with the proper type 4383 FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing 4383 PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type 4384 4384 PASS Window interface: window must inherit property "onseeked" with the proper type 4385 4385 PASS Window interface: window must inherit property "onseeking" with the proper type … … 5082 5082 PASS SVGElement interface: attribute onresize 5083 5083 PASS SVGElement interface: attribute onscroll 5084 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5084 PASS SVGElement interface: attribute onsecuritypolicyviolation 5085 5085 PASS SVGElement interface: attribute onseeked 5086 5086 PASS SVGElement interface: attribute onseeking … … 5224 5224 PASS Document interface: attribute onresize 5225 5225 PASS Document interface: attribute onscroll 5226 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5226 PASS Document interface: attribute onsecuritypolicyviolation 5227 5227 PASS Document interface: attribute onseeked 5228 5228 PASS Document interface: attribute onseeking … … 5345 5345 PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type 5346 5346 PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type 5347 FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5347 PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type 5348 5348 PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type 5349 5349 PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type … … 5466 5466 PASS Document interface: new Document() must inherit property "onresize" with the proper type 5467 5467 PASS Document interface: new Document() must inherit property "onscroll" with the proper type 5468 FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5468 PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type 5469 5469 PASS Document interface: new Document() must inherit property "onseeked" with the proper type 5470 5470 PASS Document interface: new Document() must inherit property "onseeking" with the proper type … … 5587 5587 PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type 5588 5588 PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type 5589 FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain 5589 PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type 5590 5590 PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type 5591 5591 PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events-expected.txt
r280703 r281569 240 240 PASS onscroll: the content attribute must execute when an event is dispatched 241 241 PASS onscroll: dispatching an Event at a <meta> element must trigger element.onscroll 242 FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: Window has an own property named "onsecuritypolicyviolation" expected true got false 243 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 244 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" 245 FAIL onsecuritypolicyviolation: the content attribute must execute when an event is dispatched assert_true: Dispatching an event must run the code expected true got undefined242 PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers 243 PASS onsecuritypolicyviolation: the default value must be null 244 PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property 245 PASS onsecuritypolicyviolation: the content attribute must execute when an event is dispatched 246 246 PASS onsecuritypolicyviolation: dispatching an Event at a <meta> element must trigger element.onsecuritypolicyviolation 247 247 PASS onseeked: must be on the appropriate locations for GlobalEventHandlers -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt
r280703 r281569 65 65 PASS not shadowed ratechange (document.body) 66 66 PASS not shadowed reset (document.body) 67 FAIL not shadowed securitypolicyviolation (document.body) assert_equals: alternative body should reflect expected (object) null but got (undefined) undefined 67 PASS not shadowed securitypolicyviolation (document.body) 68 68 PASS not shadowed seeked (document.body) 69 69 PASS not shadowed seeking (document.body) … … 172 172 PASS not shadowed ratechange (document.createElement("body")) 173 173 PASS not shadowed reset (document.createElement("body")) 174 FAIL not shadowed securitypolicyviolation (document.createElement("body")) assert_equals: body should reflect expected (object) null but got (undefined) undefined 174 PASS not shadowed securitypolicyviolation (document.createElement("body")) 175 175 PASS not shadowed seeked (document.createElement("body")) 176 176 PASS not shadowed seeking (document.createElement("body")) … … 279 279 PASS not shadowed ratechange (window) 280 280 PASS not shadowed reset (window) 281 FAIL not shadowed securitypolicyviolation (window) assert_equals: body should reflect expected (object) null but got (undefined) undefined 281 PASS not shadowed securitypolicyviolation (window) 282 282 PASS not shadowed seeked (window) 283 283 PASS not shadowed seeking (window) -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt
r280703 r281569 87 87 PASS ratechange is unaffected on a windowless body 88 88 PASS reset is unaffected on a windowless body 89 FAIL securitypolicyviolation is unaffected on a windowless body assert_equals: expected (object) null but got (undefined) undefined 89 PASS securitypolicyviolation is unaffected on a windowless body 90 90 PASS seeked is unaffected on a windowless body 91 91 PASS seeking is unaffected on a windowless body … … 194 194 PASS ratechange is unaffected on a windowless frameset 195 195 PASS reset is unaffected on a windowless frameset 196 FAIL securitypolicyviolation is unaffected on a windowless frameset assert_equals: expected (object) null but got (undefined) undefined 196 PASS securitypolicyviolation is unaffected on a windowless frameset 197 197 PASS seeked is unaffected on a windowless frameset 198 198 PASS seeking is unaffected on a windowless frameset -
trunk/LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt
r280703 r281569 245 245 PASS onscroll: dynamic changes on the attribute 246 246 PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll 247 FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false 248 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 249 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" 250 FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined 251 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 247 PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers 248 PASS onsecuritypolicyviolation: the default value must be null 249 PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property 250 PASS onsecuritypolicyviolation: dynamic changes on the attribute 251 PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation 252 252 PASS onseeked: must be on the appropriate locations for GlobalEventHandlers 253 253 PASS onseeked: the default value must be null -
trunk/LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt
r280703 r281569 240 240 PASS onscroll: dynamic changes on the attribute 241 241 PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll 242 FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false 243 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 244 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" 245 FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined 246 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 242 PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers 243 PASS onsecuritypolicyviolation: the default value must be null 244 PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property 245 PASS onsecuritypolicyviolation: dynamic changes on the attribute 246 PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation 247 247 PASS onseeked: must be on the appropriate locations for GlobalEventHandlers 248 248 PASS onseeked: the default value must be null -
trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r280703 r281569 310 310 PASS HTMLElement interface: attribute onresize 311 311 PASS HTMLElement interface: attribute onscroll 312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 312 PASS HTMLElement interface: attribute onsecuritypolicyviolation 313 313 PASS HTMLElement interface: attribute onseeked 314 314 PASS HTMLElement interface: attribute onseeking … … 405 405 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type 406 406 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type 407 FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 407 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type 408 408 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type 409 409 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type … … 4450 4450 PASS Window interface: attribute onresize 4451 4451 PASS Window interface: attribute onscroll 4452 FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing 4452 PASS Window interface: attribute onsecuritypolicyviolation 4453 4453 PASS Window interface: attribute onseeked 4454 4454 PASS Window interface: attribute onseeking … … 4600 4600 PASS Window interface: window must inherit property "onresize" with the proper type 4601 4601 PASS Window interface: window must inherit property "onscroll" with the proper type 4602 FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing 4602 PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type 4603 4603 PASS Window interface: window must inherit property "onseeked" with the proper type 4604 4604 PASS Window interface: window must inherit property "onseeking" with the proper type … … 5315 5315 PASS SVGElement interface: attribute onresize 5316 5316 PASS SVGElement interface: attribute onscroll 5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5317 PASS SVGElement interface: attribute onsecuritypolicyviolation 5318 5318 PASS SVGElement interface: attribute onseeked 5319 5319 PASS SVGElement interface: attribute onseeking … … 5449 5449 PASS Document interface: attribute onresize 5450 5450 PASS Document interface: attribute onscroll 5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5451 PASS Document interface: attribute onsecuritypolicyviolation 5452 5452 PASS Document interface: attribute onseeked 5453 5453 PASS Document interface: attribute onseeking … … 5574 5574 PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type 5575 5575 PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type 5576 FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5576 PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type 5577 5577 PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type 5578 5578 PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type … … 5699 5699 PASS Document interface: new Document() must inherit property "onresize" with the proper type 5700 5700 PASS Document interface: new Document() must inherit property "onscroll" with the proper type 5701 FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5701 PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type 5702 5702 PASS Document interface: new Document() must inherit property "onseeked" with the proper type 5703 5703 PASS Document interface: new Document() must inherit property "onseeking" with the proper type … … 5824 5824 PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type 5825 5825 PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type 5826 FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain 5826 PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type 5827 5827 PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type 5828 5828 PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type -
trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r280703 r281569 310 310 PASS HTMLElement interface: attribute onresize 311 311 PASS HTMLElement interface: attribute onscroll 312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 312 PASS HTMLElement interface: attribute onsecuritypolicyviolation 313 313 PASS HTMLElement interface: attribute onseeked 314 314 PASS HTMLElement interface: attribute onseeking … … 405 405 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type 406 406 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type 407 FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 407 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type 408 408 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type 409 409 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type … … 4440 4440 PASS Window interface: attribute onresize 4441 4441 PASS Window interface: attribute onscroll 4442 FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing 4442 PASS Window interface: attribute onsecuritypolicyviolation 4443 4443 PASS Window interface: attribute onseeked 4444 4444 PASS Window interface: attribute onseeking … … 4590 4590 PASS Window interface: window must inherit property "onresize" with the proper type 4591 4591 PASS Window interface: window must inherit property "onscroll" with the proper type 4592 FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing 4592 PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type 4593 4593 PASS Window interface: window must inherit property "onseeked" with the proper type 4594 4594 PASS Window interface: window must inherit property "onseeking" with the proper type … … 5305 5305 PASS SVGElement interface: attribute onresize 5306 5306 PASS SVGElement interface: attribute onscroll 5307 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5307 PASS SVGElement interface: attribute onsecuritypolicyviolation 5308 5308 PASS SVGElement interface: attribute onseeked 5309 5309 PASS SVGElement interface: attribute onseeking … … 5439 5439 PASS Document interface: attribute onresize 5440 5440 PASS Document interface: attribute onscroll 5441 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5441 PASS Document interface: attribute onsecuritypolicyviolation 5442 5442 PASS Document interface: attribute onseeked 5443 5443 PASS Document interface: attribute onseeking … … 5564 5564 PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type 5565 5565 PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type 5566 FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5566 PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type 5567 5567 PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type 5568 5568 PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type … … 5689 5689 PASS Document interface: new Document() must inherit property "onresize" with the proper type 5690 5690 PASS Document interface: new Document() must inherit property "onscroll" with the proper type 5691 FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5691 PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type 5692 5692 PASS Document interface: new Document() must inherit property "onseeked" with the proper type 5693 5693 PASS Document interface: new Document() must inherit property "onseeking" with the proper type … … 5814 5814 PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type 5815 5815 PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type 5816 FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain 5816 PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type 5817 5817 PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type 5818 5818 PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type -
trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt
r280703 r281569 240 240 PASS onscroll: dynamic changes on the attribute 241 241 PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll 242 FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false 243 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 244 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" 245 FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined 246 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 242 PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers 243 PASS onsecuritypolicyviolation: the default value must be null 244 PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property 245 PASS onsecuritypolicyviolation: dynamic changes on the attribute 246 PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation 247 247 PASS onseeked: must be on the appropriate locations for GlobalEventHandlers 248 248 PASS onseeked: the default value must be null -
trunk/LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r280733 r281569 310 310 PASS HTMLElement interface: attribute onresize 311 311 PASS HTMLElement interface: attribute onscroll 312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 312 PASS HTMLElement interface: attribute onsecuritypolicyviolation 313 313 PASS HTMLElement interface: attribute onseeked 314 314 PASS HTMLElement interface: attribute onseeking … … 405 405 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type 406 406 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type 407 FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 407 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type 408 408 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type 409 409 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type … … 4450 4450 PASS Window interface: attribute onresize 4451 4451 PASS Window interface: attribute onscroll 4452 FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing 4452 PASS Window interface: attribute onsecuritypolicyviolation 4453 4453 PASS Window interface: attribute onseeked 4454 4454 PASS Window interface: attribute onseeking … … 4600 4600 PASS Window interface: window must inherit property "onresize" with the proper type 4601 4601 PASS Window interface: window must inherit property "onscroll" with the proper type 4602 FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing 4602 PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type 4603 4603 PASS Window interface: window must inherit property "onseeked" with the proper type 4604 4604 PASS Window interface: window must inherit property "onseeking" with the proper type … … 5315 5315 PASS SVGElement interface: attribute onresize 5316 5316 PASS SVGElement interface: attribute onscroll 5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5317 PASS SVGElement interface: attribute onsecuritypolicyviolation 5318 5318 PASS SVGElement interface: attribute onseeked 5319 5319 PASS SVGElement interface: attribute onseeking … … 5449 5449 PASS Document interface: attribute onresize 5450 5450 PASS Document interface: attribute onscroll 5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5451 PASS Document interface: attribute onsecuritypolicyviolation 5452 5452 PASS Document interface: attribute onseeked 5453 5453 PASS Document interface: attribute onseeking … … 5574 5574 PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type 5575 5575 PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type 5576 FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5576 PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type 5577 5577 PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type 5578 5578 PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type … … 5699 5699 PASS Document interface: new Document() must inherit property "onresize" with the proper type 5700 5700 PASS Document interface: new Document() must inherit property "onscroll" with the proper type 5701 FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5701 PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type 5702 5702 PASS Document interface: new Document() must inherit property "onseeked" with the proper type 5703 5703 PASS Document interface: new Document() must inherit property "onseeking" with the proper type … … 5824 5824 PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type 5825 5825 PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type 5826 FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain 5826 PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type 5827 5827 PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type 5828 5828 PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type -
trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r280703 r281569 310 310 PASS HTMLElement interface: attribute onresize 311 311 PASS HTMLElement interface: attribute onscroll 312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 312 PASS HTMLElement interface: attribute onsecuritypolicyviolation 313 313 PASS HTMLElement interface: attribute onseeked 314 314 PASS HTMLElement interface: attribute onseeking … … 405 405 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type 406 406 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type 407 FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 407 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type 408 408 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type 409 409 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type … … 4450 4450 PASS Window interface: attribute onresize 4451 4451 PASS Window interface: attribute onscroll 4452 FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing 4452 PASS Window interface: attribute onsecuritypolicyviolation 4453 4453 PASS Window interface: attribute onseeked 4454 4454 PASS Window interface: attribute onseeking … … 4600 4600 PASS Window interface: window must inherit property "onresize" with the proper type 4601 4601 PASS Window interface: window must inherit property "onscroll" with the proper type 4602 FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing 4602 PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type 4603 4603 PASS Window interface: window must inherit property "onseeked" with the proper type 4604 4604 PASS Window interface: window must inherit property "onseeking" with the proper type … … 5315 5315 PASS SVGElement interface: attribute onresize 5316 5316 PASS SVGElement interface: attribute onscroll 5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5317 PASS SVGElement interface: attribute onsecuritypolicyviolation 5318 5318 PASS SVGElement interface: attribute onseeked 5319 5319 PASS SVGElement interface: attribute onseeking … … 5449 5449 PASS Document interface: attribute onresize 5450 5450 PASS Document interface: attribute onscroll 5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5451 PASS Document interface: attribute onsecuritypolicyviolation 5452 5452 PASS Document interface: attribute onseeked 5453 5453 PASS Document interface: attribute onseeking … … 5574 5574 PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type 5575 5575 PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type 5576 FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5576 PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type 5577 5577 PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type 5578 5578 PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type … … 5699 5699 PASS Document interface: new Document() must inherit property "onresize" with the proper type 5700 5700 PASS Document interface: new Document() must inherit property "onscroll" with the proper type 5701 FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5701 PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type 5702 5702 PASS Document interface: new Document() must inherit property "onseeked" with the proper type 5703 5703 PASS Document interface: new Document() must inherit property "onseeking" with the proper type … … 5824 5824 PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type 5825 5825 PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type 5826 FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain 5826 PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type 5827 5827 PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type 5828 5828 PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type -
trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt
r280703 r281569 240 240 PASS onscroll: dynamic changes on the attribute 241 241 PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll 242 FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false 243 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 244 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" 245 FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined 246 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 242 PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers 243 PASS onsecuritypolicyviolation: the default value must be null 244 PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property 245 PASS onsecuritypolicyviolation: dynamic changes on the attribute 246 PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation 247 247 PASS onseeked: must be on the appropriate locations for GlobalEventHandlers 248 248 PASS onseeked: the default value must be null -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r280703 r281569 310 310 PASS HTMLElement interface: attribute onresize 311 311 PASS HTMLElement interface: attribute onscroll 312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 312 PASS HTMLElement interface: attribute onsecuritypolicyviolation 313 313 PASS HTMLElement interface: attribute onseeked 314 314 PASS HTMLElement interface: attribute onseeking … … 405 405 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type 406 406 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type 407 FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 407 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type 408 408 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type 409 409 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type … … 4450 4450 PASS Window interface: attribute onresize 4451 4451 PASS Window interface: attribute onscroll 4452 FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing 4452 PASS Window interface: attribute onsecuritypolicyviolation 4453 4453 PASS Window interface: attribute onseeked 4454 4454 PASS Window interface: attribute onseeking … … 4600 4600 PASS Window interface: window must inherit property "onresize" with the proper type 4601 4601 PASS Window interface: window must inherit property "onscroll" with the proper type 4602 FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing 4602 PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type 4603 4603 PASS Window interface: window must inherit property "onseeked" with the proper type 4604 4604 PASS Window interface: window must inherit property "onseeking" with the proper type … … 5315 5315 PASS SVGElement interface: attribute onresize 5316 5316 PASS SVGElement interface: attribute onscroll 5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5317 PASS SVGElement interface: attribute onsecuritypolicyviolation 5318 5318 PASS SVGElement interface: attribute onseeked 5319 5319 PASS SVGElement interface: attribute onseeking … … 5449 5449 PASS Document interface: attribute onresize 5450 5450 PASS Document interface: attribute onscroll 5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5451 PASS Document interface: attribute onsecuritypolicyviolation 5452 5452 PASS Document interface: attribute onseeked 5453 5453 PASS Document interface: attribute onseeking … … 5574 5574 PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type 5575 5575 PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type 5576 FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5576 PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type 5577 5577 PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type 5578 5578 PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type … … 5699 5699 PASS Document interface: new Document() must inherit property "onresize" with the proper type 5700 5700 PASS Document interface: new Document() must inherit property "onscroll" with the proper type 5701 FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5701 PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type 5702 5702 PASS Document interface: new Document() must inherit property "onseeked" with the proper type 5703 5703 PASS Document interface: new Document() must inherit property "onseeking" with the proper type … … 5824 5824 PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type 5825 5825 PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type 5826 FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain 5826 PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type 5827 5827 PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type 5828 5828 PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt
r280703 r281569 240 240 PASS onscroll: dynamic changes on the attribute 241 241 PASS onscroll: dispatching an Event at a <math> element must trigger element.onscroll 242 FAIL onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers assert_true: MathMLElement has an own property named "onsecuritypolicyviolation" expected true got false 243 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 244 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" 245 FAIL onsecuritypolicyviolation: dynamic changes on the attribute assert_equals: The onsecuritypolicyviolation property must be null (no attribute) expected (object) null but got (undefined) undefined 246 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 242 PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers 243 PASS onsecuritypolicyviolation: the default value must be null 244 PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property 245 PASS onsecuritypolicyviolation: dynamic changes on the attribute 246 PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation 247 247 PASS onseeked: must be on the appropriate locations for GlobalEventHandlers 248 248 PASS onseeked: the default value must be null -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt
r280703 r281569 310 310 PASS HTMLElement interface: attribute onresize 311 311 PASS HTMLElement interface: attribute onscroll 312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 312 PASS HTMLElement interface: attribute onsecuritypolicyviolation 313 313 PASS HTMLElement interface: attribute onseeked 314 314 PASS HTMLElement interface: attribute onseeking … … 405 405 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type 406 406 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onscroll" with the proper type 407 FAIL HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 407 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type 408 408 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type 409 409 PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type … … 4450 4450 PASS Window interface: attribute onresize 4451 4451 PASS Window interface: attribute onscroll 4452 FAIL Window interface: attribute onsecuritypolicyviolation assert_own_property: The global object must have a property "onsecuritypolicyviolation" expected property "onsecuritypolicyviolation" missing 4452 PASS Window interface: attribute onsecuritypolicyviolation 4453 4453 PASS Window interface: attribute onseeked 4454 4454 PASS Window interface: attribute onseeking … … 4600 4600 PASS Window interface: window must inherit property "onresize" with the proper type 4601 4601 PASS Window interface: window must inherit property "onscroll" with the proper type 4602 FAIL Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type assert_own_property: expected property "onsecuritypolicyviolation" missing 4602 PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type 4603 4603 PASS Window interface: window must inherit property "onseeked" with the proper type 4604 4604 PASS Window interface: window must inherit property "onseeking" with the proper type … … 5315 5315 PASS SVGElement interface: attribute onresize 5316 5316 PASS SVGElement interface: attribute onscroll 5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5317 PASS SVGElement interface: attribute onsecuritypolicyviolation 5318 5318 PASS SVGElement interface: attribute onseeked 5319 5319 PASS SVGElement interface: attribute onseeking … … 5449 5449 PASS Document interface: attribute onresize 5450 5450 PASS Document interface: attribute onscroll 5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false 5451 PASS Document interface: attribute onsecuritypolicyviolation 5452 5452 PASS Document interface: attribute onseeked 5453 5453 PASS Document interface: attribute onseeking … … 5574 5574 PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type 5575 5575 PASS Document interface: iframe.contentDocument must inherit property "onscroll" with the proper type 5576 FAIL Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5576 PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type 5577 5577 PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type 5578 5578 PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type … … 5699 5699 PASS Document interface: new Document() must inherit property "onresize" with the proper type 5700 5700 PASS Document interface: new Document() must inherit property "onscroll" with the proper type 5701 FAIL Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" not found in prototype chain 5701 PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type 5702 5702 PASS Document interface: new Document() must inherit property "onseeked" with the proper type 5703 5703 PASS Document interface: new Document() must inherit property "onseeking" with the proper type … … 5824 5824 PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type 5825 5825 PASS Document interface: documentWithHandlers must inherit property "onscroll" with the proper type 5826 FAIL Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type assert_inherits: property "onsecuritypolicyviolation" found on object expected in prototype chain 5826 PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type 5827 5827 PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type 5828 5828 PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type -
trunk/Source/WebCore/ChangeLog
r281564 r281569 1 2021-08-25 Sonia Singla <ssingla@igalia.com> 2 3 Add onsecuritypolicyviolation on GlobalEventHandlers 4 https://bugs.webkit.org/show_bug.cgi?id=229381 5 6 Reviewed by Frédéric Wang. 7 8 `onsecuritypolicyviolation` attribute has been added to 9 `GlobalEventHandlers` by https://github.com/whatwg/html/pull/2651 10 11 This patch supports it. 12 13 Tests: imported/w3c/web-platform-tests/dom/idlharness.window.html 14 imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-all-global-events.html 15 imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window-expected.txt 16 imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html 17 18 * dom/GlobalEventHandlers.idl: 19 * html/HTMLAttributeNames.in: 20 * html/HTMLElement.cpp: 21 (WebCore::HTMLElement::createEventHandlerNameMap): 22 1 23 2021-08-25 Alan Bujtas <zalan@apple.com> 2 24 -
trunk/Source/WebCore/dom/GlobalEventHandlers.idl
r280703 r281569 81 81 attribute EventHandler onresize; 82 82 attribute EventHandler onscroll; 83 // FIXME: Implement 'onsecuritypolicyviolation'. 84 // attribute EventHandler onsecuritypolicyviolation; 83 attribute EventHandler onsecuritypolicyviolation; 85 84 attribute EventHandler onseeked; 86 85 attribute EventHandler onseeking; -
trunk/Source/WebCore/html/HTMLAttributeNames.in
r281490 r281569 297 297 onscroll 298 298 onsearch 299 onsecuritypolicyviolation 299 300 onseeked 300 301 onseeking -
trunk/Source/WebCore/html/HTMLElement.cpp
r281490 r281569 332 332 &onscrollAttr.get(), 333 333 &onsearchAttr.get(), 334 &onsecuritypolicyviolationAttr.get(), 334 335 &onseekedAttr.get(), 335 336 &onseekingAttr.get(),
Note: See TracChangeset
for help on using the changeset viewer.