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

<body>
</body>
</html>