Closed
Bug 1167303
Opened 10 years ago
Closed 6 years ago
debugger's smart search shouldn't try parsing non-JS files as JS
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fitzgen, Unassigned)
References
Details
It results in error spam in the console like in bug 1163540 comment 6:
> chrome://browser/content/tabbrowser.xml threw an exception: SyntaxError:
> expected expression, got '<'
> Stack: Parser.prototype.get@resource:///modules/devtools/Parser.jsm:65:21
> FilterView.prototype._doSearch@chrome://browser/content/devtools/debugger/
> filter-view.js:442:20
> FilterView.prototype._doTokenSearch@chrome://browser/content/devtools/
> debugger/filter-view.js:483:5
> FilterView.prototype._addCommands/<.tokenSearchCommand@chrome://browser/
> content/devtools/debugger/filter-view.js:113:33
> Line: 65, column: 20
We should avoid attempting to parse source mapped sources that aren't JS and our stupid fake html sources.
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 1•6 years ago
|
||
this relates to the old debugger
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•