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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html

Issue 1676793003: Revert of Don't set the origin twice when navigating for javascript: URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html b/third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html
deleted file mode 100644
index c03e0adbbea5c1719d887496b9691bacec4b378e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="/js-test-resources/js-test.js"></script>
-<script>
-var jsTestIsAsync = true;
-function runTest() {
- var frame = document.body.appendChild(document.createElement("iframe"));
- frame.src = "http://localhost:8000/security/resources/opened-document-security-origin-resets-on-navigation-frame.html";
- frame.onload = function () {
- frame.onload = null;
- var blob = new Blob(["<script>(" + function () {
- frame = document.documentElement.appendChild(document.createElement("iframe"));
- frame.contentWindow.setTimeout("parent.document.open()", 0);
- setTimeout(function () {
- location = "javascript:'<script>setTimeout(top.finishJSTest, 0); parent.eval(\"alert(location)\"); top.testFailed(\"context security origin was not updated!\");</scr" + "ipt>'" }, 0);
- } + "())</sc" + "ript>"], {type: "text/html"});
- frame.contentWindow[0].location = URL.createObjectURL(blob);
- }
-}
-</script>
-</head>
-<body onload="runTest()">
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/opened-document-security-origin-resets-on-navigation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698