Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM: listeners on target are now copied twice #16307

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

annevk
Copy link
Member

@annevk annevk commented Apr 10, 2019

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 whatwg/dom#746 for additional context.

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 whatwg/dom#746 for additional context.
@wpt-pr-bot wpt-pr-bot added the dom label Apr 10, 2019
@wpt-pr-bot wpt-pr-bot requested review from jdm and zqzhang April 10, 2019 08:49
@annevk annevk requested review from cdumez, rniwa, hayatoito and smaug---- and removed request for jdm and zqzhang April 10, 2019 08:49
annevk added a commit to whatwg/dom that referenced this pull request Apr 10, 2019
This fixes a regression from #686.

Tests: various tests were failing because of this. web-platform-tests/wpt#16307 aligns the remaining failing test with the new model.

Fixes #742.
Copy link
Contributor

@cdumez cdumez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

Copy link
Member

@hayatoito hayatoito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

cc: @chrishtr

@annevk annevk merged commit 0fbaeb4 into master Apr 11, 2019
@annevk annevk deleted the annevk/target-listeners-copied-twice branch April 11, 2019 09:12
annevk added a commit to whatwg/dom that referenced this pull request Apr 15, 2019
This fixes a regression from #686.

Tests: various tests were failing because of this. web-platform-tests/wpt#16307 aligns the remaining failing test with the new model.

Fixes #742.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants