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

Normative: Define @@toStringTag for Intl namespace object #487

Merged
merged 1 commit into from Aug 13, 2020

Conversation

shvaikalesh
Copy link
Member

@shvaikalesh shvaikalesh commented Jul 21, 2020

@FrankYFTang
Copy link
Contributor

@FrankYFTang
Copy link
Contributor

Copy link
Contributor

@FrankYFTang FrankYFTang left a comment

Choose a reason for hiding this comment

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

LGTM

@FrankYFTang
Copy link
Contributor

required v8 code change in https://chromium-review.googlesource.com/c/v8/v8/+/2315455

Copy link
Member

@ryzokuken ryzokuken left a comment

Choose a reason for hiding this comment

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

LGTM

@FrankYFTang FrankYFTang added this to Priority Issues in ECMA-402 Meeting Topics Jul 27, 2020
pull bot pushed a commit to ashu8912/v8 that referenced this pull request Aug 1, 2020
Implement tc39/ecma402#487
Also improve test/intl/toStringTag.js

see also: tc39/test262#2712

Bug: v8:10744
Change-Id: I678876aa21f169a8dfcec8e3ce974978a8847fe0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2315455
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69185}
@leobalter
Copy link
Member

TG2 achieved consensus today and this had consensus from TC39 as recorded here: tc39/ecma262#2057 (comment)

@sffc sffc moved this from Priority Issues to Previously Discussed in ECMA-402 Meeting Topics Aug 13, 2020
@leobalter leobalter merged commit 83223c6 into tc39:master Aug 13, 2020
caiolima pushed a commit to caiolima/webkit that referenced this pull request Aug 25, 2020
https://bugs.webkit.org/show_bug.cgi?id=215715

Reviewed by Ross Kirsling.

JSTests:

* stress/intl-object.js:
* test262/expectations.yaml: Mark 4 test cases as passing.

Source/JavaScriptCore:

This patch utilizes JSC_TO_STRING_TAG_WITHOUT_TRANSITION() to define Symbol.toStringTag
on Intl namespace object, implementing the recent spec change [1] and aligning JSC with V8.
Also, adds inherits() ASSERT to match (most of) the other built-ins.

[1]: tc39/ecma402#487

* runtime/IntlObject.cpp:
(JSC::IntlObject::finishCreation):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@266015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
ECMA-402 Meeting Topics
Previously Discussed
Development

Successfully merging this pull request may close these issues.

None yet

4 participants