Closed
Bug 851418
Opened 12 years ago
Closed 12 years ago
"Assertion failure: XPCJSRuntime::Get()->GetJSContextStack()->Peek() == cx"
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: jruderman, Assigned: bholley)
References
Details
(Keywords: assertion, sec-moderate, testcase, Whiteboard: [adv-main22+][adv-main35-])
Attachments
(4 files)
(deleted),
text/html
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
Assertion failure: XPCJSRuntime::Get()->GetJSContextStack()->Peek() == cx, at js/xpconnect/wrappers/WrapperFactory.cpp:346
bholley added this assertion in one of the patches in bug 834732,
http://hg.mozilla.org/mozilla-central/rev/a38bbae7a53b
Reporter | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #725651 -
Flags: review?(bugs)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #725652 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Flags: in-testsuite?
Assignee | ||
Comment 5•12 years ago
|
||
Given that bug 834732 has been marked sec-moderate, any bugs such as this one must be sec-moderate as well.
Keywords: sec-high → sec-moderate
Comment 6•12 years ago
|
||
Comment on attachment 725651 [details] [diff] [review]
Unscope the pusher in CompileEventHandlerInternal. v1
I don't actually know what are the new requirements for nsCxPusher and
JSAutoRequest usage. Also, I don't know why you're changing the cx you give as a
parameter to JSAutoRequest.
Attachment #725651 -
Flags: review?(bugs) → review?(mrbkap)
Comment 7•12 years ago
|
||
Comment on attachment 725651 [details] [diff] [review]
Unscope the pusher in CompileEventHandlerInternal. v1
It's a little weird to see us entering a request without entering a compartment, but given the lack of compartment mismatches, I'm assuming it's all right.
Olli, the patch here doesn't actually change which context we're passing anywhere, cx is set to context->GetNativeContext(); bholley just made it more explicit that we were passing the right context.
Attachment #725651 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Assignee: nobody → bobbyholley+bmo
Status: NEW → RESOLVED
Closed: 12 years ago
status-firefox22:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•12 years ago
|
status-b2g18:
--- → wontfix
status-firefox-esr17:
--- → wontfix
Updated•11 years ago
|
Whiteboard: [adv-main22+]
Assignee | ||
Comment 10•10 years ago
|
||
Flags: in-testsuite? → in-testsuite+
status-firefox35:
--- → fixed
Updated•10 years ago
|
Group: core-security
Updated•10 years ago
|
Whiteboard: [adv-main22+] → [adv-main22+][adv-main35-]
You need to log in
before you can comment on or make changes to this bug.
Description
•