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

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

mercurial