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

Side by Side Diff: LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value.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 var node = frame.getAttributeNode('src'); 7 var node = frame.getAttributeNode('src');
8 node.value = url; 8 node.value = url;
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <frameset rows="10%,*"> 12 <frameset rows="10%,*">
13 <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>"> 13 <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>">
14 <frame id='aFrame' src='http://localhost:8000/security/resources/cross-frame -iframe.html'> 14 <frame id='aFrame' name='aFrame' src='http://localhost:8000/security/resourc es/cross-frame-iframe.html'>
15 </frameset> 15 </frameset>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698