1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/382131-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<html class="reftest-wait"> 1.5 +<head> 1.6 +<script> 1.7 + 1.8 +function crash() 1.9 +{ 1.10 + try { 1.11 + window.getSelection().containsNode([], false); 1.12 + } catch(e) { } 1.13 + 1.14 + try { 1.15 + window.getSelection().containsNode(null, false); 1.16 + } catch(e) { } 1.17 + 1.18 + document.documentElement.removeAttribute("class"); 1.19 +} 1.20 + 1.21 +</script> 1.22 +</head> 1.23 + 1.24 +<body onload="setTimeout(crash, 10);"> 1.25 +Foo 1.26 +</body> 1.27 + 1.28 +</html>