Ship String.prototype.replaceAll
Categories
(Core :: JavaScript: Standard Library, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: mconca, Assigned: anba)
References
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
String.prototype.replaceAll landed in 72 via bug 1540021, but is restricted to Nightly due to the lack of test262 tests. Once those tests exist, this bug should enable String.prototype.replaceAll to ride the trains to release.
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Looks like tests have landed.
https://github.com/tc39/test262/tree/master/test/built-ins/String/prototype/replace
Updated•5 years ago
|
Comment 2•5 years ago
|
||
FWIW, Safari 13.1 ships String.prototype.replaceAll: https://webkit.org/blog/10247/new-webkit-features-in-safari-13-1/
Comment 3•5 years ago
|
||
What do you think, André? I'm happy to write the patch if you're busy.
Assignee | ||
Comment 4•5 years ago
|
||
It should be okay to release replaceAll
by default.
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D70195
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8ebccccc34ec
https://hg.mozilla.org/mozilla-central/rev/2da7bd05e25f
Comment 9•4 years ago
|
||
Docs:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/77#JavaScript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll
Description
•