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

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

Issue 14198015: Deny cross-origin access to 'window.history'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 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: 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 bd2f770b3ce68bed40096c2fac4f0b5d88d455f3..20ac3997bc8033c7e95a4cffa580f469bd351294 100644
--- a/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html
+++ b/LayoutTests/http/tests/security/cross-frame-access-object-getPrototypeOf.html
@@ -19,7 +19,6 @@
targetWindow = document.getElementById("target").contentWindow;
shouldBeUndefined("Object.getPrototypeOf(targetWindow)");
- shouldBeUndefined("Object.getPrototypeOf(targetWindow.history)");
if (window.testRunner)
testRunner.notifyDone();
@@ -27,7 +26,7 @@
</script>
</head>
<body>
- <div>This tests that you can't get the prototype of the window or history objects cross-origin using Object.getPrototypeOf().</div>
+ <div>This tests that you can't get the prototype of the window object cross-origin using Object.getPrototypeOf().</div>
<iframe id="target" src="http://localhost:8000/security/resources/cross-frame-iframe-for-object-getPrototypeOf-test.html"></iframe>
<pre id="console"></pre>
</body>

Powered by Google App Engine
This is Rietveld 408576698