Closed Bug 809749 Opened 13 years ago Closed 13 years ago

A stylesheet with an invalid regexp causes JS exceptions

Categories

(Core :: CSS Parsing and Computation, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 709954

People

(Reporter: jason.barnabe, Unassigned)

References

Details

1. Install Stylish - https://addons.mozilla.org/en-US/firefox/addon/stylish/ 2. Add a new style with this code: @-moz-document regexp("?") {} 3. Check the Error Console. You should see some errors saying "SyntaxError: invalid quantifier", some from specific lines in js files. 4. Use Orion by editing the style with Stylish or by activating Scratchpad. You'll find that you can't modify the text because of SyntaxError: invalid quantifier in chrome://browser/content/orion.js:5003. I would not expect that a bad regexp in a stylesheet would cause JS exceptions.
This should have been fixed by bug 709954, as far as I can tell. Do you see the problem in a nightly build?
Depends on: 709954
Yeah, fixed in 19.0a1.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.