This page tests which object prototype is used when calling "new" across windows. If the test passes, you'll see a series of PASS messages below.
"); frames[0].document.close(); var o = new frames[0].O; shouldBe(o instanceof frames[0].Object, "o instanceof frames[0].Object", true); shouldBe(o.__proto__.__proto__ === frames[0].Object.prototype, "o.__proto__.__proto__ === frames[0].Object.prototype", true);