FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

events:use property, primordials by benjamingr · Pull Request #33775 · nodejs/node · GitHub

/ node Public

events:use property, primordials - #33775

Closed
benjamingr wants to merge 2 commits into
nodejs:masterfrom
benjamingr:event-target-string-tag-symbol
Closed

events:use property, primordials#33775
benjamingr wants to merge 2 commits into
nodejs:masterfrom
benjamingr:event-target-string-tag-symbol

Conversation

Copy link
Copy Markdown
Member

Per Web IDL, EventTarget.prototype[Symbol.toStringTag] should be a data property, not a getter. Commit 56e4460 introduced it as a getter.

This commit uses SymbolToStringTag from primordials and sets it as a property and not a getter.

Thank you Domenic for pointing this out!

Fixes: #33773
cc @jasnell

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

benjamingr requested a review from jasnell June 6, 2020 18:47
benjamingr added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jun 7, 2020

Copy link
Copy Markdown
Collaborator

jasnell pushed a commit that referenced this pull request Jun 18, 2020
PR-URL: #33775
Fixes: #33773
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

jasnell commented Jun 18, 2020

Copy link
Copy Markdown
Member

Landed in ea866dc

jasnell closed this Jun 18, 2020
codebytere pushed a commit that referenced this pull request Jun 22, 2020
PR-URL: #33775
Fixes: #33773
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere mentioned this pull request Jun 28, 2020
codebytere pushed a commit that referenced this pull request Jun 30, 2020
PR-URL: #33775
Fixes: #33773
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minor EventTarget correctness issues

6 participants


Back | FazBrowse Home | New Git URL