docshell/test/file_bug385434_3.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:c3dc1de6c629
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, false);
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 }, false);
16
17 </script>
18 </head>
19
20 <body>
21 </body>
22 </html>

mercurial