dom/xbl/crashtests/493123-1.xhtml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     4 <bindings xmlns="http://www.mozilla.org/xbl">
     5   <binding id="a"><content></content></binding>
     6   <binding id="b"><content><style xmlns="http://www.w3.org/1999/xhtml" style="display: none;">* { overflow: hidden; }</style><children xmlns="http://www.mozilla.org/xbl"/></content></binding>
     7 </bindings>
     9 <script type="text/javascript" style="display: none">
    11 function one()
    12 {
    13   while (document.documentElement.firstChild) document.documentElement.removeChild(document.documentElement.firstChild)
    14   document.documentElement.style.MozBinding = 'url("#a")';
    15   setTimeout(two, 1);
    16 }
    18 function two()
    19 {
    20   document.documentElement.style.MozBinding = 'url("#b")';
    21   setTimeout(three, 1);
    22 }
    24 function three()
    25 {
    26   document.documentElement.style.MozBinding = 'url("#a")';
    27   document.documentElement.removeAttribute("class");
    28 }
    30 </script>
    31 </head>
    33 <body onload="one();"></body>
    34 </html>

mercurial