summaryrefslogtreecommitdiff
path: root/docshell/test/file_bug385434_2.html
blob: 4aa5ef82b8b12b62de37d3258ddb8f817bb80a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!--
Inner frame for test of bug 385434.
https://bugzilla.mozilla.org/show_bug.cgi?id=385434
-->
<html>
<head>
  <script type="application/javascript">
    function hashchange(e) {
      // pass the event back to the parent so it can check its properties.
      parent.gSampleEvent = e;

      parent.statusMsg("Hashchange in 2.");
      parent.onIframeHashchange();
    }

    function load() {
      parent.statusMsg("Loading 2.");
      parent.onIframeLoad();
    }
  </script>
</head>

<frameset onload="load()" onhashchange="hashchange(event)">
  <frame src="about:blank" />
</frameset>
</html>