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

Side by Side Diff: LayoutTests/fast/dom/xss-DENIED-javascript-variations.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 } 7 }
8 8
9 function runTest() { 9 function runTest() {
10 var a = window.frames[0]; 10 var a = window.frames[0];
(...skipping 13 matching lines...) Expand all
24 a.location = " javascript:document.write('FAIL')"; 24 a.location = " javascript:document.write('FAIL')";
25 a.location = "javascript\t:document.write('FAIL')"; 25 a.location = "javascript\t:document.write('FAIL')";
26 a.location = "javascript\1:document.write('FAIL')"; 26 a.location = "javascript\1:document.write('FAIL')";
27 a.location = "javascript:document.write('FAIL')"; 27 a.location = "javascript:document.write('FAIL')";
28 } 28 }
29 </script> 29 </script>
30 30
31 </head> 31 </head>
32 <body onload="runTest()"> 32 <body onload="runTest()">
33 <br> 33 <br>
34 <iframe id = 'DUPA' src="data:text/html,<p>Inner text should not be replaced.<p> "></iframe> 34 <iframe name = 'DUPA' src="data:text/html,<p>Inner text should not be replaced.< p>"></iframe>
35 35
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/wrapper-context.html ('k') | LayoutTests/fast/events/onbeforeunload-focused-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698