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

Side by Side Diff: LayoutTests/http/tests/security/frameNavigation/resources/iframe-with-inner-frame-on-foreign-domain.html

Issue 9963061: Merge 112184 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 8 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function loaded() 4 function loaded()
5 { 5 {
6 document.getElementsByTagName('h4')[0].innerHTML = document.domain; 6 document.getElementsByTagName('h4')[0].innerHTML = document.domain;
7 if (top.opener)
8 top.opener.postMessage("iframe-with-inner-frame-on-foreign-domai n-LOADED", "*");
7 } 9 }
8 </script> 10 </script>
9 </head> 11 </head>
10 <body onload="loaded();"> 12 <body onload="loaded();">
11 <h4>DOMAIN</h4> 13 <h4>DOMAIN</h4>
12 <iframe name="targetFrame" src="http://localhost:8000/security/resources/cro ss-frame-iframe.html"></iframe> 14 <iframe name="targetFrame" src="http://localhost:8000/security/resources/cro ss-frame-iframe.html"></iframe>
13 </body> 15 </body>
14 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698