content/base/crashtests/628599-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/628599-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +var w;
    1.10 +
    1.11 +function b1()
    1.12 +{
    1.13 +  w = window.open("404.gif", "w2", "f");
    1.14 +  setTimeout(b2, 1200);
    1.15 +}
    1.16 +
    1.17 +function b2()
    1.18 +{
    1.19 +  w.close();
    1.20 +  setTimeout(b3, 500);
    1.21 +}
    1.22 +
    1.23 +function b3()
    1.24 +{
    1.25 +  w.location = "data:text/html,2";
    1.26 +  document.body.appendChild(document.createTextNode("Done"));
    1.27 +}
    1.28 +
    1.29 +</script>
    1.30 +</head>
    1.31 +<body>
    1.32 +<div><button onclick="b1();">Start test</button></div>
    1.33 +</body>
    1.34 +</html>

mercurial