Closed Bug 1138094 Opened 9 years ago Closed 9 years ago

Fix in-tree consumers that use non-standard flag argument of String.prototype.{search,match,replace} in im/.

Categories

(Instantbird Graveyard :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

(same as bug 1131107)

Before fixing bug 1108382, we need to replace all of them with regexp literal, new RegExp(...) or .split().join().
Blocks: 1108382
Fixed String.prototype.replace call sites to use regexp literals.

at least no regression on try run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=7a729c78766a
Attachment #8570974 - Flags: review?(florian)
Comment on attachment 8570974 [details] [diff] [review]
Do not use non-standard flag argument of String.prototype.replace in im/.

Review of attachment 8570974 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8570974 - Flags: review?(florian) → review+
Thank you :D

https://hg.mozilla.org/comm-central/rev/513b765eb104
Assignee: nobody → arai.unmht
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in before you can comment on or make changes to this bug.