Update the list of global and window event handlers (#36894)

There's an expanded list of event handlers content attributes that need
to be forwarded to the corresponding window of the body element, and
this PR adds the remaining ones. The full list can be seen in [this
link](https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers-on-elements%2C-document-objects%2C-and-window-objects%3Aevent-handlers-6).

Testing: Covered by various WPT tests

---------

Signed-off-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
Keith Yeung 2025-05-10 23:54:13 +08:00 committed by GitHub
parent d725fb3728
commit da1c49299b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 123 additions and 1013 deletions

View file

@ -1,28 +1,22 @@
[webkit-animation-iteration-event.html]
expected: TIMEOUT
[onanimationiteration and onwebkitanimationiteration are not aliases]
expected: FAIL
[dispatchEvent of a webkitAnimationIteration event does trigger a prefixed event handler or listener]
expected: FAIL
[dispatchEvent of an animationiteration event does not trigger a prefixed event handler or listener]
expected: FAIL
[onwebkitanimationiteration event handler should trigger for an animation]
expected: FAIL
expected: TIMEOUT
[onwebkitanimationiteration event handler should not trigger if an unprefixed event handler also exists]
expected: FAIL
expected: NOTRUN
[onwebkitanimationiteration event handler should not trigger if an unprefixed listener also exists]
expected: FAIL
expected: NOTRUN
[event types for prefixed and unprefixed animationiteration event handlers should be named appropriately]
expected: FAIL
expected: NOTRUN
[webkitAnimationIteration event listener should trigger for an animation]
expected: TIMEOUT
expected: NOTRUN
[webkitAnimationIteration event listener should not trigger if an unprefixed listener also exists]
expected: NOTRUN