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

RESOLVED FIXED in 1.6

Status

defect
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: arai, Assigned: arai)

Tracking

Dependency tree / graph

Details

Attachments

(1 attachment)

Assignee

Description

4 years ago
(same as bug 1131107)

Before fixing bug 1108382, we need to replace all of them with regexp literal, new RegExp(...) or .split().join().
Assignee

Updated

4 years ago
Blocks: 1108382
Assignee

Comment 1

4 years ago
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+
Assignee

Comment 3

4 years ago
Thank you :D

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