Closed Bug 1657152 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24873 - Multiple once listeners should be invoked.

Categories

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

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 24873 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/24873
Details from upstream follow.

Jihwan Marc Kim <bluewhale.marc@gmail.com> wrote:

Multiple once listeners should be invoked.

addEventListener {once} removes other listeners on EventTarget
after dispatch.
But Multiple once listeners should be invoked even if
the stopImmediatePropagation is set.

Bug: 993109
Change-Id: Iaabb03141ee7cf2de88dc6c8726f5a474efd133b

Reviewed-on: https://chromium-review.googlesource.com/2336011
WPT-Export-Revision: 8d5cdce65e10c83894b6ab5f6fbb1dfd52ca3e6a

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

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 4

Chrome

OK : 1
PASS: 3
FAIL: 1

Safari

OK : 1
PASS: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2461fdc6c338
[wpt PR 24873] - stopImmediatePropagation() should not unregister uninvoked 'once' listeners, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfa0790e1df5
[wpt PR 24873] - stopImmediatePropagation() should not unregister uninvoked 'once' listeners, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.