file_frameancestors_userpass_frame_a.html (455B)
1 <html> 2 <head> 3 <title>Nested frame</title> 4 <script> 5 function proceed() { 6 parent.parent.postMessage({call: "frameLoaded", testname: "frame_a", uri: window.location.toString()}, "*"); 7 } 8 </script> 9 </head> 10 <body> 11 <tt>IFRAME A</tt><br/> 12 <iframe src='http://sampleuser:samplepass@mochi.test:8888/tests/dom/security/test/csp/file_frameancestors_userpass_frame_c.html' 13 onerror="proceed()" 14 onload="proceed()"></iframe><br/> 15 </body> 16 </html>