Closed
Bug 1255201
Opened 8 years ago
Closed 8 years ago
Improve the stack handling in nsXPCComponents_Utils::ReportError for the DOMException case
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(1 file, 1 obsolete file)
We can get a stack in that case too.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8728658 -
Flags: review?(bobbyholley)
Comment 2•8 years ago
|
||
Comment on attachment 8728658 [details] [diff] [review] Improve the stack handling in nsXPCComponents_Utils::ReportError for the DOMException case to include the stack from the DOMException Review of attachment 8728658 [details] [diff] [review]: ----------------------------------------------------------------- Sorry this one got lost. ::: dom/base/nsJSUtils.cpp @@ +77,5 @@ > return nativeGlobal->GetScriptContext(); > } > > +nsPIDOMWindowInner * > +nsJSUtils::GetCurrentlyRunningCodeInnerWindow(JSContext *aContext) This duplicates CurrentWindowOrNull, right?
Attachment #8728658 -
Flags: review?(bobbyholley) → review-
Assignee | ||
Comment 3•8 years ago
|
||
> This duplicates CurrentWindowOrNull, right?
Except in the null JSContext case, you're right. Good catch.
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8729642 -
Flags: review?(bobbyholley)
Assignee | ||
Updated•8 years ago
|
Attachment #8728658 -
Attachment is obsolete: true
Updated•8 years ago
|
Attachment #8729642 -
Flags: review?(bobbyholley) → review+
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/82e7e34cedc5
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•