layout/base/crashtests/321077-2.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/321077-2.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     1.6 +
     1.7 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 0);">
     1.8 +
     1.9 +<script type="text/javascript">
    1.10 +
    1.11 +var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    1.12 +
    1.13 +function boom()
    1.14 +{
    1.15 +  // Fire off an image load, then leave while the image load is pending.
    1.16 +
    1.17 +  document.getElementById("image").src = "data:text/html,foo";
    1.18 +  location = "data:text/html,elsewhere";
    1.19 +}
    1.20 +
    1.21 +</script>
    1.22 +
    1.23 +<tree><treechildren/></tree><image id="image"/>
    1.24 +
    1.25 +</window>

mercurial