script: use passive event listener option on AddEventListenerOptions (#35877)

Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
shanehandley 2025-03-10 20:44:16 +11:00 committed by GitHub
parent 1b6b21cb85
commit 7fc5dc5c69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 87 additions and 217 deletions

View file

@ -1,26 +0,0 @@
[AddEventListenerOptions-passive.any.worker.html]
[Supports passive option on addEventListener only]
expected: FAIL
[preventDefault should be ignored if-and-only-if the passive option is true]
expected: FAIL
[returnValue should be ignored if-and-only-if the passive option is true]
expected: FAIL
[passive behavior of one listener should be unaffected by the presence of other listeners]
expected: FAIL
[AddEventListenerOptions-passive.any.html]
[Supports passive option on addEventListener only]
expected: FAIL
[preventDefault should be ignored if-and-only-if the passive option is true]
expected: FAIL
[returnValue should be ignored if-and-only-if the passive option is true]
expected: FAIL
[passive behavior of one listener should be unaffected by the presence of other listeners]
expected: FAIL

View file

@ -1,171 +0,0 @@
[passive-by-default.html]
[touchstart listener is passive by default for Window]
expected: FAIL
[touchstart listener is passive with {passive:undefined} for Window]
expected: FAIL
[touchstart listener is passive with {passive:true} for Window]
expected: FAIL
[touchstart listener is passive by default for Document]
expected: FAIL
[touchstart listener is passive with {passive:undefined} for Document]
expected: FAIL
[touchstart listener is passive with {passive:true} for Document]
expected: FAIL
[touchstart listener is passive by default for HTMLHtmlElement]
expected: FAIL
[touchstart listener is passive with {passive:undefined} for HTMLHtmlElement]
expected: FAIL
[touchstart listener is passive with {passive:true} for HTMLHtmlElement]
expected: FAIL
[touchstart listener is passive by default for HTMLBodyElement]
expected: FAIL
[touchstart listener is passive with {passive:undefined} for HTMLBodyElement]
expected: FAIL
[touchstart listener is passive with {passive:true} for HTMLBodyElement]
expected: FAIL
[touchstart listener is passive with {passive:true} for HTMLDivElement]
expected: FAIL
[touchmove listener is passive by default for Window]
expected: FAIL
[touchmove listener is passive with {passive:undefined} for Window]
expected: FAIL
[touchmove listener is passive with {passive:true} for Window]
expected: FAIL
[touchmove listener is passive by default for Document]
expected: FAIL
[touchmove listener is passive with {passive:undefined} for Document]
expected: FAIL
[touchmove listener is passive with {passive:true} for Document]
expected: FAIL
[touchmove listener is passive by default for HTMLHtmlElement]
expected: FAIL
[touchmove listener is passive with {passive:undefined} for HTMLHtmlElement]
expected: FAIL
[touchmove listener is passive with {passive:true} for HTMLHtmlElement]
expected: FAIL
[touchmove listener is passive by default for HTMLBodyElement]
expected: FAIL
[touchmove listener is passive with {passive:undefined} for HTMLBodyElement]
expected: FAIL
[touchmove listener is passive with {passive:true} for HTMLBodyElement]
expected: FAIL
[touchmove listener is passive with {passive:true} for HTMLDivElement]
expected: FAIL
[wheel listener is passive by default for Window]
expected: FAIL
[wheel listener is passive with {passive:undefined} for Window]
expected: FAIL
[wheel listener is passive with {passive:true} for Window]
expected: FAIL
[wheel listener is passive by default for Document]
expected: FAIL
[wheel listener is passive with {passive:undefined} for Document]
expected: FAIL
[wheel listener is passive with {passive:true} for Document]
expected: FAIL
[wheel listener is passive by default for HTMLHtmlElement]
expected: FAIL
[wheel listener is passive with {passive:undefined} for HTMLHtmlElement]
expected: FAIL
[wheel listener is passive with {passive:true} for HTMLHtmlElement]
expected: FAIL
[wheel listener is passive by default for HTMLBodyElement]
expected: FAIL
[wheel listener is passive with {passive:undefined} for HTMLBodyElement]
expected: FAIL
[wheel listener is passive with {passive:true} for HTMLBodyElement]
expected: FAIL
[wheel listener is passive with {passive:true} for HTMLDivElement]
expected: FAIL
[mousewheel listener is passive by default for Window]
expected: FAIL
[mousewheel listener is passive with {passive:undefined} for Window]
expected: FAIL
[mousewheel listener is passive with {passive:true} for Window]
expected: FAIL
[mousewheel listener is passive by default for Document]
expected: FAIL
[mousewheel listener is passive with {passive:undefined} for Document]
expected: FAIL
[mousewheel listener is passive with {passive:true} for Document]
expected: FAIL
[mousewheel listener is passive by default for HTMLHtmlElement]
expected: FAIL
[mousewheel listener is passive with {passive:undefined} for HTMLHtmlElement]
expected: FAIL
[mousewheel listener is passive with {passive:true} for HTMLHtmlElement]
expected: FAIL
[mousewheel listener is passive by default for HTMLBodyElement]
expected: FAIL
[mousewheel listener is passive with {passive:undefined} for HTMLBodyElement]
expected: FAIL
[mousewheel listener is passive with {passive:true} for HTMLBodyElement]
expected: FAIL
[mousewheel listener is passive with {passive:true} for HTMLDivElement]
expected: FAIL
[touchend listener is passive with {passive:true} for Window]
expected: FAIL
[touchend listener is passive with {passive:true} for Document]
expected: FAIL
[touchend listener is passive with {passive:true} for HTMLHtmlElement]
expected: FAIL
[touchend listener is passive with {passive:true} for HTMLBodyElement]
expected: FAIL
[touchend listener is passive with {passive:true} for HTMLDivElement]
expected: FAIL