Closed Bug 1138095 Opened 7 years ago Closed 7 years ago

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

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 39.0

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 #8570975 - Flags: review?(mkmelin+mozilla)
Comment on attachment 8570975 [details] [diff] [review]
Do not use non-standard flag argument of String.prototype.replace in mail/.

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

LGTM, thx! r=mkmelin
Attachment #8570975 - Flags: review?(mkmelin+mozilla) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 39.0
Assignee: nobody → arai.unmht
You need to log in before you can comment on or make changes to this bug.