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

Side by Side Diff: LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-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 <frameset rows="10%,*"> 11 <frameset rows="10%,*">
12 <frame id='main' src="data:text/html,<p>This test passes as long as the word 'FAIL' and an accompanying message do not appear in the frame below.</p>"> 12 <frame id='main' name='main' src="data:text/html,<p>This test passes as long as the word 'FAIL' and an accompanying message do not appear in the frame below .</p>">
13 <frame id='aFrame' src='http://localhost:8000/security/resources/cross-frame -iframe.html'> 13 <frame id='aFrame' name='aFrame' src='http://localhost:8000/security/resourc es/cross-frame-iframe.html'>
14 </frameset> 14 </frameset>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698