docshell/test/file_bug385434_1.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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     function hashchange() {
     9       parent.onIframeHashchange();
    10     }
    12     function load() {
    13       parent.onIframeLoad();
    14     }
    16     function scroll() {
    17       parent.onIframeScroll();
    18     }
    19   </script>
    20 </head>
    22 <body onscroll="scroll()" onload="load()" onhashchange="hashchange()">
    23 <a href="#link1" id="link1">link1</a>
    24 <!-- Our parent loads us in an iframe with height 100px, so this spacer ensures
    25      that switching between #link1 and #link2 causes us to scroll -->
    26 <div style="height:200px;"></div>
    27 <a href="#link2" id="link2">link2</a>
    28 </body>
    29 </html>

mercurial