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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-targeted-link-navigation.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: Added verification of # of opened windows at the end of not-opener test. 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 src="../resources/cross-frame-access.js"></script> 3 <script src="../resources/cross-frame-access.js"></script>
4 <script> 4 <script>
5 window.onload = function() 5 window.onload = function()
6 { 6 {
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 testRunner.dumpChildFramesAsText(); 9 testRunner.dumpChildFramesAsText();
10 testRunner.setDumpConsoleMessages(false);
10 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
11 testRunner.setCanOpenWindows(); 12 testRunner.setCanOpenWindows();
12 testRunner.setCloseRemainingWindowsWhenComplete(true); 13 testRunner.setCloseRemainingWindowsWhenComplete(true);
13 } 14 }
14 window.frames[0].postMessage('run test', '*'); 15 window.frames[0].postMessage('run test', '*');
15 } 16 }
16 </script> 17 </script>
17 </head> 18 </head>
18 <body> 19 <body>
19 <pre id='console'></pre> 20 <pre id='console'></pre>
20 <iframe src="http://localhost:8000/security/frameNavigation/resources/frame-with -link-to-navigate.html"></iframe> 21 <iframe src="http://localhost:8000/security/frameNavigation/resources/frame-with -link-to-navigate.html"></iframe>
21 <iframe name="toNavigate" src="http://127.0.0.1:8000/security/resources/cross-fr ame-iframe.html"></iframe> 22 <iframe name="toNavigate" src="http://127.0.0.1:8000/security/resources/cross-fr ame-iframe.html"></iframe>
22 </body> 23 </body>
23 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698