-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
events: deal with Symbol() passed to event constructor #33612
Closed
benjamingr
wants to merge
2
commits into
nodejs:master
from
benjamingr:event-constructor-symbol-passed
Closed
events: deal with Symbol() passed to event constructor #33612
benjamingr
wants to merge
2
commits into
nodejs:master
from
benjamingr:event-constructor-symbol-passed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benjamingr
added
the
events
Issues and PRs related to the events subsystem / EventEmitter.
label
May 28, 2020
targos
reviewed
May 28, 2020
targos
approved these changes
May 28, 2020
jasnell
approved these changes
May 28, 2020
BridgeAR
approved these changes
May 28, 2020
BridgeAR
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
May 28, 2020
juanarbol
approved these changes
May 28, 2020
11 tasks
addaleax
approved these changes
May 29, 2020
Fixups to unrelease internal feature. Fast track? |
@benjamingr this needs a rebase. |
BridgeAR
removed
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
May 30, 2020
@BridgeAR thanks, rebased :] |
benjamingr
force-pushed
the
event-constructor-symbol-passed
branch
from
May 30, 2020 11:29
9031d99
to
1cd9500
Compare
BridgeAR
added
the
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
label
May 30, 2020
benjamingr
force-pushed
the
event-constructor-symbol-passed
branch
2 times, most recently
from
May 31, 2020 11:44
bbb1b12
to
3749047
Compare
BridgeAR
force-pushed
the
master
branch
2 times, most recently
from
May 31, 2020 12:18
8ae28ff
to
2935f72
Compare
benjamingr
force-pushed
the
event-constructor-symbol-passed
branch
from
May 31, 2020 12:59
e9f1ce2
to
0a2edb5
Compare
BridgeAR
removed
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
fast-track
PRs that do not need to wait for 48 hours to land.
labels
May 31, 2020
jasnell
pushed a commit
that referenced
this pull request
Jun 3, 2020
PR-URL: #33612 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Landed in 3a7a5d7 |
codebytere
pushed a commit
that referenced
this pull request
Jun 18, 2020
PR-URL: #33612 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Merged
codebytere
pushed a commit
that referenced
this pull request
Jun 30, 2020
PR-URL: #33612 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Align behavior of
Event
constructor when a symbol is passed with what the DOM does.Old behavior:
new Event(Symbol())
creates an event with type "Symbol()"New behavior:
new Event(Symbol())
throws an error (like browsers do).cc @jasnell
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes