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

Side by Side Diff: LayoutTests/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe.html

Issue 196523007: Revert of id of iframe incorrectly sets window name (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 <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 </script> 9 </script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p>The scenario for this test is that you have an iframe with content from a foreign domain. In that foreign content 12 <p>The scenario for this test is that you have an iframe with content from a foreign domain. In that foreign content
13 is an iframe which loads a data: URL. This tests that the data: URL loa ded iframe does not have access 13 is an iframe which loads a data: URL. This tests that the data: URL loa ded iframe does not have access
14 to the main frame using top.document.</p> 14 to the main frame using top.document.</p>
15 <p id='accessMe'>Pass: Cross frame access from a data: URL on a different do main was denied.</p> 15 <p id='accessMe'>Pass: Cross frame access from a data: URL on a different do main was denied.</p>
16 <iframe name='aFrame' src="http://localhost:8000/security/dataURL/resources/ foreign-domain-data-url-accessor-iframe.html" style="width: 400px; height:200px; "></iframe> 16 <iframe id='aFrame' src="http://localhost:8000/security/dataURL/resources/fo reign-domain-data-url-accessor-iframe.html" style="width: 400px; height:200px;"> </iframe>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698