Closed
Bug 1193399
Opened 10 years ago
Closed 10 years ago
flags argument of String.prototype.{search,match,replace} is deprecated
Categories
(Tree Management :: Bugherder, defect)
Tree Management
Bugherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: KWierso)
Details
(Whiteboard: [bugherderq3want])
Attachments
(1 file)
Running Bugherder, I noticed the following warning in the console:
09:31:16.550 flags argument of String.prototype.{search,match,replace} is deprecated 1 UI.js:13:1
Apparently the extra "flags" parameter in replace is considered deprecated, and we should switch to using a regex if we need to use flags.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8646447 -
Flags: review?(graeme.mccutcheon)
| Assignee | ||
Updated•10 years ago
|
Whiteboard: [bugherderq3want]
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → wkocher
Comment 2•10 years ago
|
||
Comment on attachment 8646447 [details] [review]
PR 26
Much better. Thanks!
Attachment #8646447 -
Flags: review?(graeme.mccutcheon) → review+
| Assignee | ||
Comment 3•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•