-
Notifications
You must be signed in to change notification settings - Fork 106
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
Conversation
v8 tracking bug https://bugs.chromium.org/p/v8/issues/detail?id=10744 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
required v8 code change in https://chromium-review.googlesource.com/c/v8/v8/+/2315455 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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 <[email protected]> Commit-Queue: Frank Tang <[email protected]> Cr-Commit-Position: refs/heads/master@{#69185}
TG2 achieved consensus today and this had consensus from TC39 as recorded here: tc39/ecma262#2057 (comment) |
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
Consensus: tc39/ecma262#2057 (comment).
Tests: tc39/test262#2712.