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

Unified Diff: LayoutTests/http/tests/security/frameNavigation/opener.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 2 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/frameNavigation/opener.html
diff --git a/LayoutTests/http/tests/security/frameNavigation/opener.html b/LayoutTests/http/tests/security/frameNavigation/opener.html
deleted file mode 100644
index 5004c90ec4119e5a8e3cd680b2603d817f7dacd6..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/frameNavigation/opener.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<html>
-<head>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.setCanOpenWindows();
-}
-
-function log(msg) {
- var div = document.createElement("div");
- div.appendChild(document.createTextNode(msg));
- document.getElementById("console").appendChild(div);
-}
-
-window.addEventListener("message", function(e) {
- if (e.data == "ready") {
- win.location = "resources/pass.html";
- } else if (e.data == "pass") {
- win.document.body.innerHTML = "Frame navigated back on-domain";
- win.close();
- log("PASS");
- if (window.testRunner)
- testRunner.notifyDone();
- }
-}, false);
-
-window.onload = function() {
- win = window.open("http://localhost:8000/security/frameNavigation/resources/ready.html", "targetFrame");
-}
-
-</script>
-</head>
-<body>
-<div id="console"></div>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698