Closed Bug 1872908 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 43845 - DOM: Introduce `ObservableEventListenerOptions` dictionary

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
123 Branch
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 dictionary

This CL introduces ObservableEventListenerOptions as an optional
dictionary parameter to EventTarget#on(). This allows
EventTarget-returned Observables to register "passive" or
"capture/bubble" event listeners, for parity with the traditional
addEventListener() mechanism.

R=masonf@chromium.org

Bug: 1485981
Change-Id: I20296052c730d009c9514d5a6c136741b26fa585
Reviewed-on: https://chromium-review.googlesource.com/5166267
WPT-Export-Revision: cb24f555dcfa31b581a91e987c9dcc1be98ee7d9

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/602245749269 [wpt PR 43845] - DOM: Introduce `ObservableEventListenerOptions` dictionary, a=testonly https://hg.mozilla.org/integration/autoland/rev/84b7a6a1621f [wpt PR 43845] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.