DevTools fails to open script in debugger (when there's an invalid regexp group error?)
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: miketaylr, Unassigned)
References
Details
(Note: I'm guessing this bug goes away once Bug 1225665 is fixed, but who knows)
STR:
- go to https://miketaylr.com/bzla/debugger-regexp.html
- open devtools console and note the following error:
SyntaxError: invalid regexp group
- Click on the blah.js:1:1 link
Expected: the script opens in the debugger, so you can figure out what just happened
Actual: the script opens in a new view-source tab (view-source:https://miketaylr.com/bzla/blah.js)
Comment 1•5 years ago
|
||
Thanks for the report Mike!
I can reproduce the issue using STRs from comment #0 on my machine Win10, Firefox Nightly
The script usually opens in a new tab if the source file isn't available in Debugger, which is this case, it isn't properly parsed due to SyntaxError: invalid regexp group
.
If bug 1225665 is the blocker we should retest as soon as it's fixed.
Honza
Comment 2•5 years ago
|
||
I think this is covered by https://bugzilla.mozilla.org/show_bug.cgi?id=1583065.
Comment 3•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Updated•4 years ago
|
Description
•