Closed
Bug 1998177
Opened 1 month ago
Closed 10 days ago
Normative: Don't call well-known Symbol methods for RegExp on primitive values
Categories
(Core :: JavaScript: Standard Library, enhancement, P3)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
147 Branch
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
This normative change was approved at the February 2025 TC39 plenary. See https://github.com/tc39/ecma262/pull/3009.
| Assignee | ||
Comment 1•1 month ago
•
|
||
Note that there's an initial implementation at https://phabricator.services.mozilla.com/D241314. Based upon comments there, we should probably remove the #ifdef and telemetry code and just make the changes.
We should coordinate landing this with V8 and JSC, it looks like they've already implemented the changes:
Updated•1 month ago
|
Severity: -- → N/A
Priority: -- → P3
| Assignee | ||
Updated•21 days ago
|
Assignee: nobody → dminor
| Assignee | ||
Comment 3•17 days ago
|
||
| Assignee | ||
Comment 4•17 days ago
|
||
Depends on D273153
| Assignee | ||
Comment 5•17 days ago
|
||
Depends on D273154
| Assignee | ||
Comment 6•11 days ago
|
||
Depends on D273155
Updated•11 days ago
|
Attachment #9527618 -
Attachment is obsolete: true
Pushed by dminor@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/a6cac184cf43
https://hg.mozilla.org/integration/autoland/rev/f862da9656fa
Don't call well-known Symbol methods for regexp on primitives; r=jandem
https://github.com/mozilla-firefox/firefox/commit/308fa93df32b
https://hg.mozilla.org/integration/autoland/rev/34acf2c4e0ff
Remove JS_regexp_symbol_protocol_on_primitive use counter; r=jandem
https://github.com/mozilla-firefox/firefox/commit/663cd21c73e1
https://hg.mozilla.org/integration/autoland/rev/2d082de0848c
Remove now unused CanOptimizeStringProtoSymbolLookup and OptimizeStringPrototypeSymbolsFuse; r=jandem
https://hg.mozilla.org/mozilla-central/rev/f862da9656fa
https://hg.mozilla.org/mozilla-central/rev/34acf2c4e0ff
https://hg.mozilla.org/mozilla-central/rev/2d082de0848c
Status: NEW → RESOLVED
Closed: 10 days ago
status-firefox147:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•