Closed
Bug 288090
Opened 20 years ago
Closed 13 years ago
report location information for unknown function errors in JS components
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: darin.moz, Unassigned)
Details
report location information for unknown function errors when an unknown function error occurs, JS_ReportErrorNumber prints out "location: <unknown>" which isn't very helpful in tracking down the cause of the problem. shaver suggested over IRC that the code might be able to walk "backwards" to look for some useful location information.
Comment 1•20 years ago
|
||
Specifically, we could walk the __parent__ chain for the object on which we're trying to find the function, and inspect the global __LOCATION__ property. We could probably do something similar for content/chrome script as well, though only the latter tends to be implementing interfaces with any interesting frequency.
Status: NEW → ASSIGNED
Summary: report location information for unknown function errors → report location information for unknown function errors in JS components
Comment 3•13 years ago
|
||
No clear STR here. If we had some, it looks like the kind of thing we'd want to fix, although I wouldn't be surprised if the original issue actually has been fixed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•