Index: third_party/WebKit/LayoutTests/http/tests/security/detached-window-cross-origin-access-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/detached-window-cross-origin-access-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/detached-window-cross-origin-access-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f263b93e91e3628b9c470a6d85cf7950f98aef81 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/detached-window-cross-origin-access-expected.txt |
@@ -0,0 +1,10 @@ |
+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: function "function () { |
+ window.requestAnimationFrame.call(detachedWindow, function () { }); |
+ }" did not throw |
+FAIL attribute access with detached window receiver should throw assert_throws: function "function () { |
+ Object.getOwnPropertyDescriptor(window, "document").get.call(detachedWindow); |
+ }" did not throw |
+Harness: the test ran to completion. |
+ |