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

Side by Side Diff: LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html 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 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.dumpChildFramesAsText(); 6 testRunner.dumpChildFramesAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 9
10 window.onload = function() 10 window.onload = function()
(...skipping 25 matching lines...) Expand all
36 + "</html>"; 36 + "</html>";
37 37
38 var iframe = document.getElementById("aFrame"); 38 var iframe = document.getElementById("aFrame");
39 iframe.src = url; 39 iframe.src = url;
40 } 40 }
41 </script> 41 </script>
42 </head> 42 </head>
43 <body> 43 <body>
44 <p>This tests that a data: URL loaded in an iframe inside another data: URL loaded iframe doesn't have access to its parent, the 44 <p>This tests that a data: URL loaded in an iframe inside another data: URL loaded iframe doesn't have access to its parent, the
45 first data: URL loaded iframe.</p> 45 first data: URL loaded iframe.</p>
46 <iframe id="aFrame" style="width: 500px; height: 300px;"></iframe> 46 <iframe id="aFrame" name="aFrame" style="width: 500px; height: 300px;"></ifr ame>
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698