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

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

Powered by Google App Engine
This is Rietveld 408576698