Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/detached-window-cross-origin-access-expected.txt

Issue 2706923002: Rework security checks to be based on Window rather than Frame. (Closed)
Patch Set: Do not hardcode V8Window::wrapperTypeInfo Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
+

Powered by Google App Engine
This is Rietveld 408576698