Skip to content

Fix String.prototype match/split/etc. methods#1064

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:string-proto-mssr
May 22, 2025
Merged

Fix String.prototype match/split/etc. methods#1064
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:string-proto-mssr

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

test262's expectation is that String methods don't try to look up well-known symbols like Symbol.match and Symbol.split on primitive values, even when those values have prototypes that do contain the symbol. Make it so.

test262's expectation is that String methods don't try to look up
well-known symbols like Symbol.match and Symbol.split on primitive
values, even when those values have prototypes that do contain the
symbol. Make it so.
Copy link
Copy Markdown
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

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

Nice bunch of failures removed!

@bnoordhuis bnoordhuis merged commit a241f2a into quickjs-ng:master May 22, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the string-proto-mssr branch May 22, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants