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

Side by Side Diff: LayoutTests/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame.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 function loaded() { 10 function loaded() {
(...skipping 15 matching lines...) Expand all
26 + "</body>" 26 + "</body>"
27 + "</html>"; 27 + "</html>";
28 28
29 var iframe = document.getElementById("aFrame"); 29 var iframe = document.getElementById("aFrame");
30 iframe.src = url; 30 iframe.src = url;
31 } 31 }
32 </script> 32 </script>
33 </head> 33 </head>
34 <body onload="loaded();"> 34 <body onload="loaded();">
35 <p>This tests that a data: URL loaded in an iframe doesn't have access to it s parent's frame</p> 35 <p>This tests that a data: URL loaded in an iframe doesn't have access to it s parent's frame</p>
36 <iframe id="aFrame"></iframe> 36 <iframe id="aFrame" name="aFrame"></iframe>
37 <p id='accessMe'>PASS: Cross frame access from a data: URL was denied.</p> 37 <p id='accessMe'>PASS: Cross frame access from a data: URL was denied.</p>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698