layout/xul/crashtests/377592-1.svg

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 <svg xmlns="http://www.w3.org/2000/svg" 
     2      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     3      onload="setTimeout(boom, 30);"
     4      class="reftest-wait">
     7 <script>
     9 var emptyBinding = "url('data:text/xml,%3Cbindings%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fxbl%22%3E%3Cbinding%20id%3D%22foo%22%3E%3Ccontent%3E%0A%0A%20%20%20%20%0A%3C%2Fcontent%3E%3C%2Fbinding%3E%3C%2Fbindings%3E%0A')";
    11 function boom()
    12 {
    13   var foreignObject = document.getElementById("foreignObject")
    14   foreignObject.style.MozBinding = emptyBinding;
    16   document.documentElement.removeAttribute("class");
    17 }
    19 </script>
    22 <foreignObject width="500" height="500" transform="scale(.7,.7)" id="foreignObject" y="300">
    23   <xul:menuitem />
    24 </foreignObject>
    27 </svg>

mercurial