1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/377522.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<html> 1.5 +<head> 1.6 +<script> 1.7 + 1.8 +function boom() { 1.9 + var div = document.getElementById('div'); 1.10 + div.appendChild(document.createTextNode(String.fromCharCode(8238))); 1.11 + div.appendChild(document.createTextNode(String.fromCharCode(50377))); 1.12 + div.appendChild(document.createTextNode(String.fromCharCode(50))); 1.13 + div.textContent = div.textContent.slice(1); 1.14 +} 1.15 + 1.16 +</script> 1.17 +</head> 1.18 +<body onload="boom()"> 1.19 +<div id="div" style="word-spacing:2px; text-align:right">x</div> 1.20 +</body> 1.21 +</html>