[wpt-sync] Sync PR 43845 - DOM: Introduce `ObservableEventListenerOptions` dictionary
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 43845 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/43845
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
DOM: Introduce
ObservableEventListenerOptions
dictionaryThis CL introduces
ObservableEventListenerOptions
as an optional
dictionary parameter toEventTarget#on()
. This allows
EventTarget-returned Observables to register "passive" or
"capture/bubble" event listeners, for parity with the traditional
addEventListener()
mechanism.Bug: 1485981
Change-Id: I20296052c730d009c9514d5a6c136741b26fa585
Reviewed-on: https://chromium-review.googlesource.com/5166267
WPT-Export-Revision: cb24f555dcfa31b581a91e987c9dcc1be98ee7d9
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 2
Chrome
PASS
: 1
FAIL
: 1
ERROR
: 1
Safari
OK
: 1
FAIL
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /dom/observable/tentative/observable-event-target.window.html [wpt.fyi]
- EventTarget Observables can listen for events in the capturing or bubbling phase:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - EventTarget Observables can be 'passive':
FAIL
(Chrome:PASS
, Safari:FAIL
)
- EventTarget Observables can listen for events in the capturing or bubbling phase:
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/602245749269
https://hg.mozilla.org/mozilla-central/rev/84b7a6a1621f
Description
•