blob: f404a334882016785c50a68f13700c025ef2dabc [file] [log] [blame]
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.