2 let sb1A = Cu.Sandbox('http://www.example.com');
3 let sb1B = Cu.Sandbox('http://www.example.com');
4 let sb2 = Cu.Sandbox('http://www.example.org');
5 let sbChrome = Cu.Sandbox(this);
6 let obj = new sb1A.Object();
8 sb1B.waived = Cu.waiveXrays(obj);
10 sb2.waived = Cu.waiveXrays(obj);
12 sbChrome.waived = Cu.waiveXrays(obj);
13 Assert.ok(Cu.evalInSandbox('obj === waived', sb1B));
14 Assert.ok(Cu.evalInSandbox('obj === waived', sb2));
15 Assert.ok(Cu.evalInSandbox('obj !== waived', sbChrome));