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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-history-prototype.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-history-prototype.html
diff --git a/LayoutTests/http/tests/security/cross-frame-access-history-prototype.html b/LayoutTests/http/tests/security/cross-frame-access-history-prototype.html
deleted file mode 100644
index 9500c35506dd5da4187ffcd6bae67ab8adde69f9..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/cross-frame-access-history-prototype.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function log(msg)
- {
- document.getElementById("console").appendChild(document.createTextNode(msg + "\n"));
- }
-
- addEventListener("message", function()
- {
- if (window.history.fail) {
- log("FAIL: History object prototype tainted.");
- } else {
- log("PASS: History object prototype not tainted.");
- }
-
- if (window.testRunner)
- testRunner.notifyDone();
- }, false);
-</script>
-<body>
- <pre id="console"></pre>
- <iframe src="http://localhost:8000/security/resources/cross-frame-history-prototype-iframe.html"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698