docshell/test/file_bug385434_3.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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);
    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);
    17   </script>
    18 </head>
    20 <body>
    21 </body>
    22 </html>

mercurial