Closed
Bug 851418
Opened 11 years ago
Closed 11 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)
380 bytes,
text/html
|
Details | |
18.02 KB,
text/plain
|
Details | |
4.24 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
1.26 KB,
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•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #725651 -
Flags: review?(bugs)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #725652 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Flags: in-testsuite?
Assignee | ||
Comment 5•11 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•11 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•11 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•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a1f3efbbe97a
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a1f3efbbe97a
Assignee: nobody → bobbyholley+bmo
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox22:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•11 years ago
|
status-b2g18:
--- → wontfix
status-firefox-esr17:
--- → wontfix
Updated•11 years ago
|
Whiteboard: [adv-main22+]
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/df8c49b33b22
Flags: in-testsuite? → in-testsuite+
Updated•10 years ago
|
Group: core-security
Updated•9 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
•