Closed Bug 1136108 Opened 9 years ago Closed 5 years ago

Searching with cmd-f in browser.js produces exception: TypeError: this[aNode.init.type] is not a function

Categories

(DevTools :: Debugger, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Gijs, Unassigned)

Details

Syntax tree visitor for chrome://browser/content/browser.js threw an exception: TypeError: this[aNode.init.type] is not a function
Stack: SyntaxTreeVisitor.VariableDeclarator@resource:///modules/devtools/Parser.jsm:1461:7
SyntaxTreeVisitor.VariableDeclaration@resource:///modules/devtools/Parser.jsm:1432:7
SyntaxTreeVisitor.BlockStatement@resource:///modules/devtools/Parser.jsm:850:7
SyntaxTreeVisitor.IfStatement@resource:///modules/devtools/Parser.jsm:904:5
SyntaxTreeVisitor.BlockStatement@resource:///modules/devtools/Parser.jsm:850:7
SyntaxTreeVisitor.FunctionExpression@resource:///modules/devtools/Parser.jsm:1614:5
SyntaxTreeVisitor.ObjectExpression@resource:///modules/devtools/Parser.jsm:1570:7
SyntaxTreeVisitor.VariableDeclarator@resource:///modules/devtools/Parser.jsm:1461:7
SyntaxTreeVisitor.VariableDeclaration@resource:///modules/devtools/Parser.jsm:1432:7
SyntaxTreeVisitor.Program@resource:///modules/devtools/Parser.jsm:779:7
SyntaxTreeVisitor.walk@resource:///modules/devtools/Parser.jsm:741:5
SyntaxTree.prototype.getIdentifierAt@resource:///modules/devtools/Parser.jsm:268:1
SyntaxTreesPool.prototype._call@resource:///modules/devtools/Parser.jsm:210:28
SyntaxTreesPool.prototype.getIdentifierAt@resource:///modules/devtools/Parser.jsm:140:12
FilterView.prototype._doSearch@chrome://browser/content/devtools/debugger-toolbar.js:1122:24
FilterView.prototype._doTokenSearch@chrome://browser/content/devtools/debugger-toolbar.js:1162:5
oncommand@chrome://browser/content/devtools/debugger.xul:1:1
Line: 1461, column: 6
Product: Firefox → DevTools

closing as this relates to the old debugger.

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