1 2 3 4 5 6
function run_test() { var sb = Cu.Sandbox('http://www.example.com'); var o = new sb.Object(); o.__proto__ = null; Assert.equal(Object.getPrototypeOf(o), null); }