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

Side by Side Diff: LayoutTests/http/tests/security/resources/cross-frame-iframe-for-get-override-test.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 4
5 window.focus = function() { return "new focus"; } 5 window.focus = function() { return "new focus"; }
6 window.__proto__.blur = function() { return "new blur"; } 6 window.__proto__.blur = function() { return "new blur"; }
7 window.history.close = "new close"; 7 window.history.close = "new close";
8 8
9 window.onload = function() 9 window.onload = function()
10 { 10 {
11 if (window.testRunner) 11 window.parent.postMessage('ready', '*');
12 testRunner.globalFlag = true;
13 } 12 }
14 </script> 13 </script>
15 </head> 14 </head>
16 <body> 15 <body>
17 </body> 16 </body>
18 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698