2 var sb1 = Cu.Sandbox('http://example.com');
3 var sb2 = Cu.Sandbox('http://example.org');
4 var chromeObj = {foo: 2};
5 var sb1obj = Cu.evalInSandbox('new Object()', sb1);
6 chromeObj.__proto__ = sb1obj;
7 sb2.wrapMe = chromeObj;
8 Assert.ok(true, "Didn't crash");
9 Assert.equal(sb2.wrapMe.__proto__, sb1obj, 'proto set correctly');