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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/not-opener.html

Issue 2042043002: Silencing console messages during some layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicate-can-open-windows
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.setDumpConsoleMessages(false);
6 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
7 testRunner.setCanOpenWindows(); 8 testRunner.setCanOpenWindows();
8 } 9 }
9 10
10 function log(msg) { 11 function log(msg) {
11 var div = document.createElement("div"); 12 var div = document.createElement("div");
12 div.appendChild(document.createTextNode(msg)); 13 div.appendChild(document.createTextNode(msg));
13 document.getElementById("console").appendChild(div); 14 document.getElementById("console").appendChild(div);
14 } 15 }
15 16
(...skipping 20 matching lines...) Expand all
36 target = window.open("resources/ready.html", "targetWindow"); 37 target = window.open("resources/ready.html", "targetWindow");
37 helper = window.open("http://localhost:8000/security/frameNavigation/resourc es/not-opener-helper.html"); 38 helper = window.open("http://localhost:8000/security/frameNavigation/resourc es/not-opener-helper.html");
38 } 39 }
39 </script> 40 </script>
40 </head> 41 </head>
41 <body> 42 <body>
42 <div id="console"></div> 43 <div id="console"></div>
43 </body> 44 </body>
44 </html> 45 </html>
45 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698