Closed
Bug 1376346
Opened 7 years ago
Closed 7 years ago
debugger throws bogus error messages - cache problem?
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jmichae3, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170608105825 Steps to reproduce: cannot put commercial code here. suggest you look at the debugger or js parser and examine what could really throw those error messages. line 2804 is var curdow=getdow(dtime); line 2850 is if (-1==arrIndexOf(sweek,keyword,true)) { parser has lost its senses. DTime.js is 3500 lines of commercial code. Actual results: unreachable code after return statement[Learn More] DTime.js:2804 SyntaxError: missing ; before statement[Learn More] DTime.js:2850:7 both of these error messages have nothing to do with the code on those lines. cache problem again? error #1: no return statement is anwhere near the vicinity. bug#2: no ; is required anywhere on line 2850.
Updated•7 years ago
|
Component: Untriaged → Developer Tools: Debugger
Updated•7 years ago
|
Component: Developer Tools: Debugger → JavaScript Engine
Product: Firefox → Core
Comment 1•7 years ago
|
||
for 1st case, it means there's "return" *before* that line. for 2nd case, it means there was not ";" *before* that line.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•