content/base/crashtests/343850-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/343850-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +
     1.7 +<script>
     1.8 +<![CDATA[
     1.9 +
    1.10 +function boom()
    1.11 +{ 
    1.12 +  var div = document.getElementById("div");
    1.13 +  var embed = document.getElementById("embed");
    1.14 +  embed.setAttribute("src", "javascript:'QQQQ'");
    1.15 +  embed.removeAttribute("src");
    1.16 +  document.body.appendChild(div);
    1.17 +  
    1.18 +  document.documentElement.removeAttribute("class");
    1.19 +}
    1.20 +
    1.21 +]]>
    1.22 +</script>
    1.23 +
    1.24 +</head>
    1.25 +
    1.26 +<body onload="setTimeout(boom, 30);">
    1.27 +
    1.28 +<div id="div"><embed id="embed"/></div>
    1.29 +
    1.30 +</body>
    1.31 +</html>

mercurial