Changeset 281569 in webkit


Ignore:
Timestamp:
Aug 25, 2021 11:45:14 AM (11 months ago)
Author:
commit-queue@webkit.org
Message:

Add onsecuritypolicyviolation on GlobalEventHandlers
https://bugs.webkit.org/show_bug.cgi?id=229381

Patch by Sonia Singla <ssingla@igalia.com> on 2021-08-25
Reviewed by Frédéric Wang.

LayoutTests/imported/w3c:

  • 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:

Source/WebCore:

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):

LayoutTests:

  • 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:
Location:
trunk
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r281568 r281569  
     12021-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
    1202021-08-25  Eric Hutchison  <ehutchison@apple.com>
    221
  • trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt

    r278042 r281569  
    44
    55
    6 FAIL typeof document.onsecuritypolicyviolation should be object. Was undefined.
     6PASS typeof document.onsecuritypolicyviolation is "object"
    77PASS typeof SecurityPolicyViolationEvent is "function"
    88PASS typeof window.e is "object"
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r281520 r281569  
     12021-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
    1142021-08-24  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r280703 r281569  
    178178PASS HTMLElement interface: attribute onresize
    179179PASS HTMLElement interface: attribute onscroll
    180 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     180PASS HTMLElement interface: attribute onsecuritypolicyviolation
    181181PASS HTMLElement interface: attribute onseeked
    182182PASS HTMLElement interface: attribute onseeking
     
    268268PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
    269269PASS 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
     270PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
    271271PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
    272272PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
     
    42374237PASS Window interface: attribute onresize
    42384238PASS 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
     4239PASS Window interface: attribute onsecuritypolicyviolation
    42404240PASS Window interface: attribute onseeked
    42414241PASS Window interface: attribute onseeking
     
    43814381PASS Window interface: window must inherit property "onresize" with the proper type
    43824382PASS 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
     4383PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
    43844384PASS Window interface: window must inherit property "onseeked" with the proper type
    43854385PASS Window interface: window must inherit property "onseeking" with the proper type
     
    50825082PASS SVGElement interface: attribute onresize
    50835083PASS SVGElement interface: attribute onscroll
    5084 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5084PASS SVGElement interface: attribute onsecuritypolicyviolation
    50855085PASS SVGElement interface: attribute onseeked
    50865086PASS SVGElement interface: attribute onseeking
     
    52245224PASS Document interface: attribute onresize
    52255225PASS Document interface: attribute onscroll
    5226 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5226PASS Document interface: attribute onsecuritypolicyviolation
    52275227PASS Document interface: attribute onseeked
    52285228PASS Document interface: attribute onseeking
     
    53455345PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
    53465346PASS 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
     5347PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
    53485348PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
    53495349PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
     
    54665466PASS Document interface: new Document() must inherit property "onresize" with the proper type
    54675467PASS 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
     5468PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
    54695469PASS Document interface: new Document() must inherit property "onseeked" with the proper type
    54705470PASS Document interface: new Document() must inherit property "onseeking" with the proper type
     
    55875587PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
    55885588PASS 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
     5589PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
    55905590PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
    55915591PASS 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  
    240240PASS onscroll: the content attribute must execute when an event is dispatched
    241241PASS 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 undefined
     242PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
     243PASS onsecuritypolicyviolation: the default value must be null
     244PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
     245PASS onsecuritypolicyviolation: the content attribute must execute when an event is dispatched
    246246PASS onsecuritypolicyviolation: dispatching an Event at a <meta> element must trigger element.onsecuritypolicyviolation
    247247PASS 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  
    6565PASS not shadowed ratechange (document.body)
    6666PASS 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
     67PASS not shadowed securitypolicyviolation (document.body)
    6868PASS not shadowed seeked (document.body)
    6969PASS not shadowed seeking (document.body)
     
    172172PASS not shadowed ratechange (document.createElement("body"))
    173173PASS 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
     174PASS not shadowed securitypolicyviolation (document.createElement("body"))
    175175PASS not shadowed seeked (document.createElement("body"))
    176176PASS not shadowed seeking (document.createElement("body"))
     
    279279PASS not shadowed ratechange (window)
    280280PASS not shadowed reset (window)
    281 FAIL not shadowed securitypolicyviolation (window) assert_equals: body should reflect expected (object) null but got (undefined) undefined
     281PASS not shadowed securitypolicyviolation (window)
    282282PASS not shadowed seeked (window)
    283283PASS not shadowed seeking (window)
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-windowless-body-expected.txt

    r280703 r281569  
    8787PASS ratechange is unaffected on a windowless body
    8888PASS 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
     89PASS securitypolicyviolation is unaffected on a windowless body
    9090PASS seeked is unaffected on a windowless body
    9191PASS seeking is unaffected on a windowless body
     
    194194PASS ratechange is unaffected on a windowless frameset
    195195PASS 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
     196PASS securitypolicyviolation is unaffected on a windowless frameset
    197197PASS seeked is unaffected on a windowless frameset
    198198PASS 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  
    245245PASS onscroll: dynamic changes on the attribute
    246246PASS 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
     247PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
     248PASS onsecuritypolicyviolation: the default value must be null
     249PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
     250PASS onsecuritypolicyviolation: dynamic changes on the attribute
     251PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
    252252PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
    253253PASS 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  
    240240PASS onscroll: dynamic changes on the attribute
    241241PASS 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
     242PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
     243PASS onsecuritypolicyviolation: the default value must be null
     244PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
     245PASS onsecuritypolicyviolation: dynamic changes on the attribute
     246PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
    247247PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
    248248PASS onseeked: the default value must be null
  • trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r280703 r281569  
    310310PASS HTMLElement interface: attribute onresize
    311311PASS HTMLElement interface: attribute onscroll
    312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     312PASS HTMLElement interface: attribute onsecuritypolicyviolation
    313313PASS HTMLElement interface: attribute onseeked
    314314PASS HTMLElement interface: attribute onseeking
     
    405405PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
    406406PASS 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
     407PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
    408408PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
    409409PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
     
    44504450PASS Window interface: attribute onresize
    44514451PASS 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
     4452PASS Window interface: attribute onsecuritypolicyviolation
    44534453PASS Window interface: attribute onseeked
    44544454PASS Window interface: attribute onseeking
     
    46004600PASS Window interface: window must inherit property "onresize" with the proper type
    46014601PASS 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
     4602PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
    46034603PASS Window interface: window must inherit property "onseeked" with the proper type
    46044604PASS Window interface: window must inherit property "onseeking" with the proper type
     
    53155315PASS SVGElement interface: attribute onresize
    53165316PASS SVGElement interface: attribute onscroll
    5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5317PASS SVGElement interface: attribute onsecuritypolicyviolation
    53185318PASS SVGElement interface: attribute onseeked
    53195319PASS SVGElement interface: attribute onseeking
     
    54495449PASS Document interface: attribute onresize
    54505450PASS Document interface: attribute onscroll
    5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5451PASS Document interface: attribute onsecuritypolicyviolation
    54525452PASS Document interface: attribute onseeked
    54535453PASS Document interface: attribute onseeking
     
    55745574PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
    55755575PASS 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
     5576PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
    55775577PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
    55785578PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
     
    56995699PASS Document interface: new Document() must inherit property "onresize" with the proper type
    57005700PASS 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
     5701PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
    57025702PASS Document interface: new Document() must inherit property "onseeked" with the proper type
    57035703PASS Document interface: new Document() must inherit property "onseeking" with the proper type
     
    58245824PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
    58255825PASS 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
     5826PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
    58275827PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
    58285828PASS 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  
    310310PASS HTMLElement interface: attribute onresize
    311311PASS HTMLElement interface: attribute onscroll
    312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     312PASS HTMLElement interface: attribute onsecuritypolicyviolation
    313313PASS HTMLElement interface: attribute onseeked
    314314PASS HTMLElement interface: attribute onseeking
     
    405405PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
    406406PASS 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
     407PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
    408408PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
    409409PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
     
    44404440PASS Window interface: attribute onresize
    44414441PASS 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
     4442PASS Window interface: attribute onsecuritypolicyviolation
    44434443PASS Window interface: attribute onseeked
    44444444PASS Window interface: attribute onseeking
     
    45904590PASS Window interface: window must inherit property "onresize" with the proper type
    45914591PASS 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
     4592PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
    45934593PASS Window interface: window must inherit property "onseeked" with the proper type
    45944594PASS Window interface: window must inherit property "onseeking" with the proper type
     
    53055305PASS SVGElement interface: attribute onresize
    53065306PASS SVGElement interface: attribute onscroll
    5307 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5307PASS SVGElement interface: attribute onsecuritypolicyviolation
    53085308PASS SVGElement interface: attribute onseeked
    53095309PASS SVGElement interface: attribute onseeking
     
    54395439PASS Document interface: attribute onresize
    54405440PASS Document interface: attribute onscroll
    5441 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5441PASS Document interface: attribute onsecuritypolicyviolation
    54425442PASS Document interface: attribute onseeked
    54435443PASS Document interface: attribute onseeking
     
    55645564PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
    55655565PASS 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
     5566PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
    55675567PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
    55685568PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
     
    56895689PASS Document interface: new Document() must inherit property "onresize" with the proper type
    56905690PASS 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
     5691PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
    56925692PASS Document interface: new Document() must inherit property "onseeked" with the proper type
    56935693PASS Document interface: new Document() must inherit property "onseeking" with the proper type
     
    58145814PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
    58155815PASS 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
     5816PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
    58175817PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
    58185818PASS 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  
    240240PASS onscroll: dynamic changes on the attribute
    241241PASS 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
     242PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
     243PASS onsecuritypolicyviolation: the default value must be null
     244PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
     245PASS onsecuritypolicyviolation: dynamic changes on the attribute
     246PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
    247247PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
    248248PASS onseeked: the default value must be null
  • trunk/LayoutTests/platform/ipad/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r280733 r281569  
    310310PASS HTMLElement interface: attribute onresize
    311311PASS HTMLElement interface: attribute onscroll
    312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     312PASS HTMLElement interface: attribute onsecuritypolicyviolation
    313313PASS HTMLElement interface: attribute onseeked
    314314PASS HTMLElement interface: attribute onseeking
     
    405405PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
    406406PASS 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
     407PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
    408408PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
    409409PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
     
    44504450PASS Window interface: attribute onresize
    44514451PASS 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
     4452PASS Window interface: attribute onsecuritypolicyviolation
    44534453PASS Window interface: attribute onseeked
    44544454PASS Window interface: attribute onseeking
     
    46004600PASS Window interface: window must inherit property "onresize" with the proper type
    46014601PASS 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
     4602PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
    46034603PASS Window interface: window must inherit property "onseeked" with the proper type
    46044604PASS Window interface: window must inherit property "onseeking" with the proper type
     
    53155315PASS SVGElement interface: attribute onresize
    53165316PASS SVGElement interface: attribute onscroll
    5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5317PASS SVGElement interface: attribute onsecuritypolicyviolation
    53185318PASS SVGElement interface: attribute onseeked
    53195319PASS SVGElement interface: attribute onseeking
     
    54495449PASS Document interface: attribute onresize
    54505450PASS Document interface: attribute onscroll
    5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5451PASS Document interface: attribute onsecuritypolicyviolation
    54525452PASS Document interface: attribute onseeked
    54535453PASS Document interface: attribute onseeking
     
    55745574PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
    55755575PASS 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
     5576PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
    55775577PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
    55785578PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
     
    56995699PASS Document interface: new Document() must inherit property "onresize" with the proper type
    57005700PASS 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
     5701PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
    57025702PASS Document interface: new Document() must inherit property "onseeked" with the proper type
    57035703PASS Document interface: new Document() must inherit property "onseeking" with the proper type
     
    58245824PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
    58255825PASS 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
     5826PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
    58275827PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
    58285828PASS 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  
    310310PASS HTMLElement interface: attribute onresize
    311311PASS HTMLElement interface: attribute onscroll
    312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     312PASS HTMLElement interface: attribute onsecuritypolicyviolation
    313313PASS HTMLElement interface: attribute onseeked
    314314PASS HTMLElement interface: attribute onseeking
     
    405405PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
    406406PASS 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
     407PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
    408408PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
    409409PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
     
    44504450PASS Window interface: attribute onresize
    44514451PASS 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
     4452PASS Window interface: attribute onsecuritypolicyviolation
    44534453PASS Window interface: attribute onseeked
    44544454PASS Window interface: attribute onseeking
     
    46004600PASS Window interface: window must inherit property "onresize" with the proper type
    46014601PASS 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
     4602PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
    46034603PASS Window interface: window must inherit property "onseeked" with the proper type
    46044604PASS Window interface: window must inherit property "onseeking" with the proper type
     
    53155315PASS SVGElement interface: attribute onresize
    53165316PASS SVGElement interface: attribute onscroll
    5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5317PASS SVGElement interface: attribute onsecuritypolicyviolation
    53185318PASS SVGElement interface: attribute onseeked
    53195319PASS SVGElement interface: attribute onseeking
     
    54495449PASS Document interface: attribute onresize
    54505450PASS Document interface: attribute onscroll
    5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5451PASS Document interface: attribute onsecuritypolicyviolation
    54525452PASS Document interface: attribute onseeked
    54535453PASS Document interface: attribute onseeking
     
    55745574PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
    55755575PASS 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
     5576PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
    55775577PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
    55785578PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
     
    56995699PASS Document interface: new Document() must inherit property "onresize" with the proper type
    57005700PASS 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
     5701PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
    57025702PASS Document interface: new Document() must inherit property "onseeked" with the proper type
    57035703PASS Document interface: new Document() must inherit property "onseeking" with the proper type
     
    58245824PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
    58255825PASS 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
     5826PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
    58275827PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
    58285828PASS 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  
    240240PASS onscroll: dynamic changes on the attribute
    241241PASS 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
     242PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
     243PASS onsecuritypolicyviolation: the default value must be null
     244PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
     245PASS onsecuritypolicyviolation: dynamic changes on the attribute
     246PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
    247247PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
    248248PASS 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  
    310310PASS HTMLElement interface: attribute onresize
    311311PASS HTMLElement interface: attribute onscroll
    312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     312PASS HTMLElement interface: attribute onsecuritypolicyviolation
    313313PASS HTMLElement interface: attribute onseeked
    314314PASS HTMLElement interface: attribute onseeking
     
    405405PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
    406406PASS 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
     407PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
    408408PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
    409409PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
     
    44504450PASS Window interface: attribute onresize
    44514451PASS 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
     4452PASS Window interface: attribute onsecuritypolicyviolation
    44534453PASS Window interface: attribute onseeked
    44544454PASS Window interface: attribute onseeking
     
    46004600PASS Window interface: window must inherit property "onresize" with the proper type
    46014601PASS 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
     4602PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
    46034603PASS Window interface: window must inherit property "onseeked" with the proper type
    46044604PASS Window interface: window must inherit property "onseeking" with the proper type
     
    53155315PASS SVGElement interface: attribute onresize
    53165316PASS SVGElement interface: attribute onscroll
    5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5317PASS SVGElement interface: attribute onsecuritypolicyviolation
    53185318PASS SVGElement interface: attribute onseeked
    53195319PASS SVGElement interface: attribute onseeking
     
    54495449PASS Document interface: attribute onresize
    54505450PASS Document interface: attribute onscroll
    5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5451PASS Document interface: attribute onsecuritypolicyviolation
    54525452PASS Document interface: attribute onseeked
    54535453PASS Document interface: attribute onseeking
     
    55745574PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
    55755575PASS 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
     5576PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
    55775577PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
    55785578PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
     
    56995699PASS Document interface: new Document() must inherit property "onresize" with the proper type
    57005700PASS 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
     5701PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
    57025702PASS Document interface: new Document() must inherit property "onseeked" with the proper type
    57035703PASS Document interface: new Document() must inherit property "onseeking" with the proper type
     
    58245824PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
    58255825PASS 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
     5826PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
    58275827PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
    58285828PASS 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  
    240240PASS onscroll: dynamic changes on the attribute
    241241PASS 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
     242PASS onsecuritypolicyviolation: must be on the appropriate locations for GlobalEventHandlers
     243PASS onsecuritypolicyviolation: the default value must be null
     244PASS onsecuritypolicyviolation: the content attribute must be compiled into a function as the corresponding property
     245PASS onsecuritypolicyviolation: dynamic changes on the attribute
     246PASS onsecuritypolicyviolation: dispatching an Event at a <math> element must trigger element.onsecuritypolicyviolation
    247247PASS onseeked: must be on the appropriate locations for GlobalEventHandlers
    248248PASS onseeked: the default value must be null
  • trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt

    r280703 r281569  
    310310PASS HTMLElement interface: attribute onresize
    311311PASS HTMLElement interface: attribute onscroll
    312 FAIL HTMLElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     312PASS HTMLElement interface: attribute onsecuritypolicyviolation
    313313PASS HTMLElement interface: attribute onseeked
    314314PASS HTMLElement interface: attribute onseeking
     
    405405PASS HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type
    406406PASS 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
     407PASS HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type
    408408PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeked" with the proper type
    409409PASS HTMLElement interface: document.createElement("noscript") must inherit property "onseeking" with the proper type
     
    44504450PASS Window interface: attribute onresize
    44514451PASS 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
     4452PASS Window interface: attribute onsecuritypolicyviolation
    44534453PASS Window interface: attribute onseeked
    44544454PASS Window interface: attribute onseeking
     
    46004600PASS Window interface: window must inherit property "onresize" with the proper type
    46014601PASS 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
     4602PASS Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type
    46034603PASS Window interface: window must inherit property "onseeked" with the proper type
    46044604PASS Window interface: window must inherit property "onseeking" with the proper type
     
    53155315PASS SVGElement interface: attribute onresize
    53165316PASS SVGElement interface: attribute onscroll
    5317 FAIL SVGElement interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5317PASS SVGElement interface: attribute onsecuritypolicyviolation
    53185318PASS SVGElement interface: attribute onseeked
    53195319PASS SVGElement interface: attribute onseeking
     
    54495449PASS Document interface: attribute onresize
    54505450PASS Document interface: attribute onscroll
    5451 FAIL Document interface: attribute onsecuritypolicyviolation assert_true: The prototype object must have a property "onsecuritypolicyviolation" expected true got false
     5451PASS Document interface: attribute onsecuritypolicyviolation
    54525452PASS Document interface: attribute onseeked
    54535453PASS Document interface: attribute onseeking
     
    55745574PASS Document interface: iframe.contentDocument must inherit property "onresize" with the proper type
    55755575PASS 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
     5576PASS Document interface: iframe.contentDocument must inherit property "onsecuritypolicyviolation" with the proper type
    55775577PASS Document interface: iframe.contentDocument must inherit property "onseeked" with the proper type
    55785578PASS Document interface: iframe.contentDocument must inherit property "onseeking" with the proper type
     
    56995699PASS Document interface: new Document() must inherit property "onresize" with the proper type
    57005700PASS 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
     5701PASS Document interface: new Document() must inherit property "onsecuritypolicyviolation" with the proper type
    57025702PASS Document interface: new Document() must inherit property "onseeked" with the proper type
    57035703PASS Document interface: new Document() must inherit property "onseeking" with the proper type
     
    58245824PASS Document interface: documentWithHandlers must inherit property "onresize" with the proper type
    58255825PASS 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
     5826PASS Document interface: documentWithHandlers must inherit property "onsecuritypolicyviolation" with the proper type
    58275827PASS Document interface: documentWithHandlers must inherit property "onseeked" with the proper type
    58285828PASS Document interface: documentWithHandlers must inherit property "onseeking" with the proper type
  • trunk/Source/WebCore/ChangeLog

    r281564 r281569  
     12021-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
    1232021-08-25  Alan Bujtas  <zalan@apple.com>
    224
  • trunk/Source/WebCore/dom/GlobalEventHandlers.idl

    r280703 r281569  
    8181    attribute EventHandler onresize;
    8282    attribute EventHandler onscroll;
    83     // FIXME: Implement 'onsecuritypolicyviolation'.
    84     // attribute EventHandler onsecuritypolicyviolation;
     83    attribute EventHandler onsecuritypolicyviolation;
    8584    attribute EventHandler onseeked;
    8685    attribute EventHandler onseeking;
  • trunk/Source/WebCore/html/HTMLAttributeNames.in

    r281490 r281569  
    297297onscroll
    298298onsearch
     299onsecuritypolicyviolation
    299300onseeked
    300301onseeking
  • trunk/Source/WebCore/html/HTMLElement.cpp

    r281490 r281569  
    332332        &onscrollAttr.get(),
    333333        &onsearchAttr.get(),
     334        &onsecuritypolicyviolationAttr.get(),
    334335        &onseekedAttr.get(),
    335336        &onseekingAttr.get(),
Note: See TracChangeset for help on using the changeset viewer.