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

Side by Side 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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 testRunner.setCanOpenWindows();
8 }
9
10 function log(msg) {
11 var div = document.createElement("div");
12 div.appendChild(document.createTextNode(msg));
13 document.getElementById("console").appendChild(div);
14 }
15
16 window.addEventListener("message", function(e) {
17 if (e.data == "ready") {
18 win.location = "resources/pass.html";
19 } else if (e.data == "pass") {
20 win.document.body.innerHTML = "Frame navigated back on-domain";
21 win.close();
22 log("PASS");
23 if (window.testRunner)
24 testRunner.notifyDone();
25 }
26 }, false);
27
28 window.onload = function() {
29 win = window.open("http://localhost:8000/security/frameNavigation/resources/ ready.html", "targetFrame");
30 }
31
32 </script>
33 </head>
34 <body>
35 <div id="console"></div>
36 </body>
37 </html>
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698