file_bug385434_3.html (587B)
1 <!-- 2 Inner frame for test of bug 385434. 3 https://bugzilla.mozilla.org/show_bug.cgi?id=385434 4 --> 5 <html> 6 <head> 7 <script type="application/javascript"> 8 // Notify our parent if we have a hashchange and once we're done loading. 9 window.addEventListener("hashchange", parent.onIframeHashchange); 10 11 window.addEventListener("DOMContentLoaded", function() { 12 // This also should trigger a hashchange, becuase the readystate is 13 // "interactive", not "complete" during DOMContentLoaded. 14 window.location.hash = "2"; 15 }); 16 17 </script> 18 </head> 19 20 <body> 21 </body> 22 </html>