Closed
Bug 603523
Opened 14 years ago
Closed 14 years ago
"ASSERTION: What kind of wrapper is this?" with multiple sandboxes
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: assertion, crash, testcase)
In xpcshell built from TM branch, post-Compartments landing: var a = Components.utils.Sandbox("http://a.example.com"); a.b = Components.utils.Sandbox("http://b.example.com"); Components.utils.evalInSandbox("b.x", a); ###!!! ASSERTION: What kind of wrapper is this?: 'IS_WRAPPER_CLASS(obj->getClass())', file js/src/xpconnect/src/nsXPConnect.cpp, line 2434 ###!!! ASSERTION: Forgot to check if this is a wrapper?: 'IS_WRAPPER_CLASS(obj->getClass())', file xpcprivate.h, line 1372 Crash [@ XPCWrappedNativeScope::GetPrincipal]
Comment 1•14 years ago
|
||
Thanks jesse. This is very useful.
Reporter | ||
Comment 2•14 years ago
|
||
WFM on TM branch.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•