Closed Bug 1629097 Opened 4 years ago Closed 4 years ago

DevTools fails to open script in debugger (when there's an invalid regexp group error?)

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1583065

People

(Reporter: miketaylr, Unassigned)

References

Details

(Note: I'm guessing this bug goes away once Bug 1225665 is fixed, but who knows)

STR:

  1. go to https://miketaylr.com/bzla/debugger-regexp.html
  2. open devtools console and note the following error:

SyntaxError: invalid regexp group

  1. 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)

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

Depends on: 1225665
Priority: -- → P3

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.)

Severity: normal → S3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.