2 var sb = new Cu.Sandbox('http://www.example.com');
3 let w = Cu.evalInSandbox('var w = new Map()[Symbol.iterator](); w.__proto__ = new Set(); w.foopy = 12; w', sb);
4 Assert.equal(Object.getPrototypeOf(w), sb.Object.prototype);
5 Assert.equal(Object.getOwnPropertyNames(w).length, 0);
6 Assert.equal(w.wrappedJSObject.foopy, 12);
7 Assert.equal(w.foopy, undefined);