Closed
Bug 981209
Opened 11 years ago
Closed 8 years ago
Get rid of calls to DescribeScriptedCaller that are designed to test "Is script running?"
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bholley, Unassigned)
References
(Blocks 1 open bug)
Details
This is part of bug 979926. The idea is that DescribeScriptedCaller will become a lightway filename/line accessor for the most recent frame that the caller has access to, and won't be useful for any high-level decision-making.
One of the big cases of this is in NS_ScriptErrorReporter, which bug 981187 will hopefully sort out.
The other big one that I know of is in the rat's nest of nsXPCWrappedJSClass::CheckForException. That's pretty hairy stuff, but it's possible that it can all be massively simplified now that stuff should no longer be going through there.
Comment 1•11 years ago
|
||
Lots of chrome stuff will still go through nsXPCWrappedJSClass...
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #1)
> Lots of chrome stuff will still go through nsXPCWrappedJSClass...
Yeah. But I'm hoping that the requirements there are a bit less touchy than they are for the web. Maybe I'm being overly-optimistic though.
Comment 3•9 years ago
|
||
Bug 1275704 removes the usage in nsXPCWrappedJSClass::CheckForException. The usage in error reporting is long gone (went away with bug 1255817).
So I think once bug 1275704 lands we can declare this fixed.
Depends on: 1275704
Comment 4•8 years ago
|
||
(In reply to Boris Zbarsky [:bz] (still a bit busy) from comment #3)
> So I think once bug 1275704 lands we can declare this fixed.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•