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

Side by Side Diff: LayoutTests/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation.html

Issue 494343003: Eliminate globalFlag usage from http security layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: consistify Created 6 years, 4 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 | Annotate | Revision Log
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.waitUntilDone(); 10 testRunner.waitUntilDone();
11 testRunner.setCanOpenWindows(); 11 testRunner.setCanOpenWindows();
12 testRunner.setCloseRemainingWindowsWhenComplete(true); 12 testRunner.setCloseRemainingWindowsWhenComplete(true);
13 } 13 }
14 window.frames[0].postMessage('run test', '*');
14 } 15 }
15 </script> 16 </script>
16 </head> 17 </head>
17 <body> 18 <body>
18 <pre id='console'></pre> 19 <pre id='console'></pre>
19 <iframe src="http://localhost:8000/security/frameNavigation/resources/frame-with -plugin-to-navigate.html"></iframe> 20 <iframe src="http://localhost:8000/security/frameNavigation/resources/frame-with -plugin-to-navigate.html"></iframe>
20 <iframe name="toNavigate" src="http://127.0.0.1:8000/security/resources/cross-fr ame-iframe.html"></iframe> 21 <iframe name="toNavigate" src="http://127.0.0.1:8000/security/resources/cross-fr ame-iframe.html"></iframe>
21 </body> 22 </body>
22 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698