content/base/crashtests/715056.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/715056.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var t1 = document.createTextNode("a");
    1.12 +  var t2 = document.createTextNode("b");
    1.13 +  document.appendChild(t1);
    1.14 +  document.appendChild(t2);
    1.15 +  var sel = window.getSelection();
    1.16 +  sel.collapse(t2, 0)
    1.17 +  document.normalize();
    1.18 +  sel.removeAllRanges();
    1.19 +}
    1.20 +
    1.21 +</script>
    1.22 +</head>
    1.23 +<body onload="boom();"></body>
    1.24 +</html>

mercurial