summaryrefslogtreecommitdiffstats
path: root/docshell/test/mochitest/file_bug385434_3.html
blob: 34dd68ef4551fecd9d806d2ee0e5d69b782dd62a (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);

    window.addEventListener("DOMContentLoaded", function() {
      // This also should trigger a hashchange, becuase the readystate is
      // "interactive", not "complete" during DOMContentLoaded.
      window.location.hash = "2";
    });

  </script>
</head>

<body>
</body>
</html>