Closed
Bug 1146097
Opened 9 years ago
Closed 9 years ago
Incorrectly escaped regexp in webide-prefs.js
Categories
(DevTools Graveyard :: WebIDE, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: jruderman, Assigned: janx)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
1.85 KB,
patch
|
jruderman
:
review+
|
Details | Diff | Splinter Review |
In browser/devtools/webide/webide-prefs.js:
> pref("devtools.webide.simulatorAddonRegExp", "fxos_(.*)_simulator@mozilla\.org$");
Trips a warning on a startup:
WARNING: preserving unexpected JS escape sequence: file modules/libpref/prefread.cpp, line 393
Assuming you want the parsed pref (and thus input to the regexp engine) to contain "\.", I think the prefs file should contain "\\."
Assignee | ||
Comment 1•9 years ago
|
||
Thanks for reporting this, Jesse!
> Assuming you want the parsed pref (and thus input to the regexp engine) to
> contain "\.", I think the prefs file should contain "\\."
That's indeed what was intended, fixed using your suggestion.
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8581293 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8581294 -
Flags: review?(jruderman)
Reporter | ||
Updated•9 years ago
|
Attachment #8581294 -
Flags: review?(jruderman) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → janx
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/db88094d97b2
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/db88094d97b2
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•