dom/xbl/crashtests/382376-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>
     3 <script>
     5 function boom1()
     6 {
     7   var c = document.getElementById("c");
     8   c.style.MozBinding = "url('#foo')";
    10   setTimeout(boom2, 30);
    11 }
    13 function boom2()
    14 {
    15   var v = document.getElementById("v");
    16   v.parentNode.removeChild(v);
    17   document.documentElement.removeAttribute("class");
    18 }
    20 </script>
    22 <bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo">
    23   <content>x x x x x <children/></content>
    24 </binding></bindings>
    26 </head>
    28 <body style="font-family: monospace; width: 10ch;" onload="setTimeout(boom1, 30);">
    30 <div style="background: lightblue; border: 1px solid blue; margin-bottom: 1em;">
    31   <span id="c">y y<span id="v">Z<div/></span></span>
    32 </div>
    34 <div style="background: lightgreen; border: 1px solid green; height: 2000px;">s</div>
    36 </body>
    37 </html>

mercurial