Normative: Add missing name property for %IntlSegmentsPrototype%[%Symbol.iterator%]#1015
Merged
Merged
Conversation
…bol.iterator%] The function name must be explicitly specified for methods whose property key is a Symbol value.
gibson042
approved these changes
Jul 5, 2025
gibson042
left a comment
Member
There was a problem hiding this comment.
Thanks; I agree that this is needed.
ryzokuken
approved these changes
Jul 6, 2025
Contributor
|
The observable behavior is: s = new Intl.Segmenter()
// Segmenter {}
ss = s.segment("123")
// Segments {}
ss[Symbol.iterator].name
// '[Symbol.iterator]'The last line is the web reality that this PR makes the spec reality. |
Member
|
Went to add this to the agenda to find it already there :D I'm happy to present it to the plenary but please do let me know if anyone else would rather do it to avoid duplicating effort. |
Member
|
2025-07-28: This PR got TG1 approval. |
webkit-commit-queue
pushed a commit
to sosukesuzuki/WebKit
that referenced
this pull request
Aug 4, 2025
…iterator%]` https://bugs.webkit.org/show_bug.cgi?id=296801 Reviewed by Yusuke Suzuki. This patch changes to implement tc39/ecma402#1015 * Source/JavaScriptCore/runtime/IntlSegmentsPrototype.cpp: (JSC::IntlSegmentsPrototype::finishCreation): Canonical link: https://commits.webkit.org/298181@main
FrankYFTang
added a commit
to FrankYFTang/test262
that referenced
this pull request
Nov 4, 2025
ptomato
pushed a commit
to FrankYFTang/test262
that referenced
this pull request
Dec 10, 2025
ptomato
pushed a commit
to tc39/test262
that referenced
this pull request
Dec 10, 2025
…("123")[Symbol.iterator].name (#4635)
* Add test for ECMA402 PR 1015
tc39/ecma402#1015
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
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.
The function name must be explicitly specified for methods whose property key is a Symbol value.