Closed
Bug 1139440
Opened 9 years ago
Closed 5 years ago
infinite loop from parser error
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tromey, Unassigned)
Details
I ran firefox and opened the browser toolbox. Then in the search bar by the debugger source pane I typed "@parseDecl" (I was searching for parseDeclarations). At this point firefox locked up. On my terminal I saw many instances of this exception: Syntax tree visitor for resource://gre/modules/commonjs/sdk/util/dispatcher.js threw an exception: TypeError: this[argument.type] is not a function Stack: SyntaxTreeVisitor.CallExpression@resource:///modules/devtools/Parser.jsm:1907:9 SyntaxTreeVisitor.ReturnStatement@resource:///modules/devtools/Parser.jsm:1073:7 SyntaxTreeVisitor.IfStatement@resource:///modules/devtools/Parser.jsm:904:5 SyntaxTreeVisitor.BlockStatement@resource:///modules/devtools/Parser.jsm:850:7 SyntaxTreeVisitor.ForOfStatement@resource:///modules/devtools/Parser.jsm:1286:5 SyntaxTreeVisitor.BlockStatement@resource:///modules/devtools/Parser.jsm:850:7 SyntaxTreeVisitor.ArrowExpression@resource:///modules/devtools/Parser.jsm:1653:5 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.ArrowExpression@resource:///modules/devtools/Parser.jsm:1653:5 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.getNamedFunctionDefinitions@resource:///modules/devtools/Parser.jsm:323:1 SyntaxTreesPool.prototype._call@resource:///modules/devtools/Parser.jsm:210:28 SyntaxTreesPool.prototype.getNamedFunctionDefinitions@resource:///modules/devtools/Parser.jsm:147:12 FilteredFunctionsView.prototype<._doSearch@chrome://browser/content/devtools/debugger-toolbar.js:1456:27 FilteredFunctionsView.prototype<.scheduleSearch/</<@chrome://browser/content/devtools/debugger-toolbar.js:1418:39 resolve@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/deprecated-sync-thenables.js:40:40 then@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/deprecated-sync-thenables.js:20:43 then@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/deprecated-sync-thenables.js:58:9 FilteredFunctionsView.prototype<.scheduleSearch/<@chrome://browser/content/devtools/debugger-toolbar.js:1418:7 setNamedTimeout/<@resource:///modules/devtools/ViewHelpers.jsm:65:39 setTimeout_timer@resource://gre/modules/Timer.jsm:30:5 Line: 1907, column: 8
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•5 years ago
|
||
this relates to the old ui.
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.
Description
•