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)

x86
macOS
defect
Not set
critical

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]
Thanks jesse. This is very useful.
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.