Closed Bug 1536492 Opened 7 years ago Closed 7 years ago

Developer's tools doesn't parse files with javascript syntax errors

Categories

(DevTools :: Debugger, defect, P3)

67 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fareden, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

  1. Create or open any web page including some JavaScript file or <script></script> tag
  2. In the .js file or the <script> tag, write some code with syntax errors

Actual results:

The file will not be parsed by the developer's tools (in the debugger section).

It will send the error in the console, but if you click on the file:line:column link shown on the right, it will open a new tab showing the source code of the page.

Expected results:

The file will be shown in the debugger tab, and the link will locate you on the line:char to check the syntax error, usually underlined with red.

Component: Untriaged → Debugger
Product: Firefox → DevTools
Priority: -- → P3

This is works in the new debugger

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.