Closed Bug 965147 Opened 11 years ago Closed 5 years ago

Searching for function definitions sometimes doesn't work in the browser debugger

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vporof, Unassigned)

References

(Blocks 1 open bug)

Details

If you try to search for function definitions in DownloadsPanel.jsm, you'll get a resource:///modules/DownloadsCommon.jsm threw an exception: InternalError: bad parse node in Parser.prototype.get@resource:///modules/devtools/Parser.jsm:68. This can interfere with function searching in other files (because searching isn't always constrained to the visible file only).
Oh, you'll have to disable the pretty printer first. The pretty printed file doesn't parse for a totally different reason :) (bug 964706).
Depends on: 965150
Some quick investigation leads to this code not being parsed correctly by jsreflect.cpp: var foo = {}; var bar = {}; foo.prototype = { __proto__: bar }; I filed bug 965150.
Priority: -- → P3
Summary: Searching for function definitions sometimes doesn't work in the Browser Debugger → Searching for function definitions sometimes doesn't work in the browser debugger
Product: Firefox → DevTools

This is now fixed in the new 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.