Closed Bug 1545547 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16307 - DOM: listeners on target are now copied twice

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

DOM: listeners on target are now copied twice

We changed event dispatch to have a "capturing" and "bubbling" phase. Each phase does AT_TARGET handling. Each phase also copies listeners. This means that listeners added during "capturing", now run during "bubbling", where they previously did not.

See https://github.com/whatwg/dom/issues/746 for additional context.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/92a514510686
[wpt PR 16307] - DOM: listeners on target are now copied twice, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.