2 var sb = new Cu.Sandbox('http://www.example.com');
3 var obj = Cu.evalInSandbox('this.obj = {foo: 2}; obj', sb);
4 var chromeSb = new Cu.Sandbox(this);
6 Assert.equal(Cu.evalInSandbox('objRef.foo', chromeSb), 2);
8 Assert.ok(Cu.isDeadWrapper(obj));
9 // CCWs to nuked wrappers should be considered dead.
10 Assert.ok(Cu.isDeadWrapper(chromeSb.objRef));