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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. Created 7 years, 5 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: LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html
diff --git a/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html b/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html
index 20ac3997bc8033c7e95a4cffa580f469bd351294..d9fc1d40a37fffaa5ab01ff2a6cdb967d1314865 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html
+++ b/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html
@@ -18,7 +18,7 @@
{
targetWindow = document.getElementById("target").contentWindow;
- shouldBeUndefined("Object.getPrototypeOf(targetWindow)");
+ shouldThrowException("Object.getPrototypeOf(targetWindow)");
if (window.testRunner)
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698