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

Side by Side Diff: LayoutTests/http/tests/security/resources/cross-frame-iframe-for-get-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.existingCustomProperty = 1; 4 window.existingCustomProperty = 1;
5 window.__proto__.windowPrototypeCustomProperty = 1; 5 window.__proto__.windowPrototypeCustomProperty = 1;
6 window.Object.prototype.objectPrototypeCustomProperty = 1; 6 window.Object.prototype.objectPrototypeCustomProperty = 1;
7 window.location.customProperty = 1; 7 window.location.customProperty = 1;
8 window.history.customProperty = 1; 8 window.history.customProperty = 1;
9 9
10 window.onload = function() 10 window.onload = function()
11 { 11 {
12 if (window.testRunner) 12 window.parent.postMessage('start', '*');
13 testRunner.globalFlag = true;
14 } 13 }
15 </script> 14 </script>
16 </head> 15 </head>
17 <body> 16 <body>
18 <iframe name="testiframe" src="data:text/html,<p>test iframe</p>"></iframe> 17 <iframe name="testiframe" src="data:text/html,<p>test iframe</p>"></iframe>
19 <img name="testimage" src="data:image/jpg,"> 18 <img name="testimage" src="data:image/jpg,">
20 </body> 19 </body>
21 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698