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

Side by Side Diff: LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode.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 <!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 newNode = document.createAttribute('src'); 7 var newNode = document.createAttribute('src');
8 newNode.value = url; 8 newNode.value = url;
9 frame.setAttributeNode(newNode); 9 frame.setAttributeNode(newNode);
10 } 10 }
11 </script> 11 </script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <p>This test passes as long as the word 'FAIL' and an accompanying message d o not appear in the subframe.</p> 14 <p>This test passes as long as the word 'FAIL' and an accompanying message d o not appear in the subframe.</p>
15 <pre id='console'></pre> 15 <pre id='console'></pre>
16 <iframe id='aFrame' name='aFrame' src='http://localhost:8000/security/resour ces/cross-frame-iframe.html'></iframe> 16 <iframe id='aFrame' src='http://localhost:8000/security/resources/cross-fram e-iframe.html'></iframe>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698