| This is a testharness.js-based test. |
| PASS Test that cross-origin access on a detached window throws a SecurityError. |
| FAIL method call with detached window receiver should throw assert_throws_dom: function "function () { |
| window.requestAnimationFrame.call(detachedWindow, function () { }); |
| }" did not throw |
| FAIL attribute access with detached window receiver should throw assert_throws_dom: function "function () { |
| Object.getOwnPropertyDescriptor(window, "document").get.call(detachedWindow); |
| }" did not throw |
| Harness: the test ran to completion. |
| |