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

Side by Side Diff: LayoutTests/http/tests/security/isolatedWorld/resources/iframe.html

Issue 216553010: Remove carriage returns from LayoutTests (04) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <div id="output"></div> 4 <div id="output"></div>
5 <script> 5 <script>
6 window.focus(); 6 window.focus();
7 7
8 // This should not pick up the 'bar' defined in the isolated world from the pare nt 8 // This should not pick up the 'bar' defined in the isolated world from the pare nt
9 // document, or the 'hotdog' defined in previous runs of this frame. 9 // document, or the 'hotdog' defined in previous runs of this frame.
10 testRunner.evaluateScriptInIsolatedWorld(1, 10 testRunner.evaluateScriptInIsolatedWorld(1,
11 "document.getElementById('output').appendChild(document.createTextNode(window. bar + ',' + window.hotdog));"); 11 "document.getElementById('output').appendChild(document.createTextNode(window. bar + ',' + window.hotdog));");
12 12
13 // Next time we run, we also shouldn't see this 'hotdog'. 13 // Next time we run, we also shouldn't see this 'hotdog'.
14 testRunner.evaluateScriptInIsolatedWorld(1, "var hotdog = 'hotdog';"); 14 testRunner.evaluateScriptInIsolatedWorld(1, "var hotdog = 'hotdog';");
15 15
16 parent.iframeComplete(document.getElementById("output").textContent); 16 parent.iframeComplete(document.getElementById("output").textContent);
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698