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

Side by Side Diff: LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/javascriptURL-execution-context.js"></script> 4 <script src="resources/javascriptURL-execution-context.js"></script>
5 <script> 5 <script>
6 function setter(frame, url) { 6 function setter(frame, url) {
7 frame.setAttribute('src', url); 7 frame.setAttribute('src', url);
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p>This test passes as long as the word 'FAIL' and an accompanying message d o not appear in the subframe.</p> 12 <p>This test passes as long as the word 'FAIL' and an accompanying message d o not appear in the subframe.</p>
13 <pre id='console'></pre> 13 <pre id='console'></pre>
14 <iframe id='aFrame' src='http://localhost:8000/security/resources/cross-fram e-iframe.html'></iframe> 14 <iframe id='aFrame' name='aFrame' src='http://localhost:8000/security/resour ces/cross-frame-iframe.html'></iframe>
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698