docshell/test/file_bug385434_2.html
author Karl Tomlinson <karlt+@karlt.net>
Thu, 03 Feb 2011 12:22:33 -0500
changeset 61853 57536671a3637d216f06e1f28b0ddf8b8c5250d3
parent 29975 da57f50c3be8843c302c6035bee98d8320a58cad
permissions -rw-r--r--
b=621962 rearrange nsIconChannel::Init to make what is happening clearer r=roc

<!--
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>