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

Side by Side Diff: LayoutTests/http/tests/security/resources/open-window.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> 3 <script>
4 window.onload = function()
5 {
6 if (window.testRunner)
7 testRunner.globalFlag = true;
8 }
9
10 var windowURL = ''; 4 var windowURL = '';
11 var openedWindow; 5 var openedWindow;
12 function openWindow() 6 function openWindow()
13 { 7 {
14 openedWindow = window.open(windowURL); 8 openedWindow = window.open(windowURL);
15 } 9 }
16 </script> 10 </script>
17 </head> 11 </head>
18 <body> 12 <body>
19 <button onclick="openWindow()">Open Window</button> 13 <button onclick="openWindow()">Open Window</button>
20 </body> 14 </body>
21 </html> 15 </html>
22 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698