1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/base/crashtests/372554-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<script> 1.8 +function boom() 1.9 +{ 1.10 + if (location.protocol == "file:") { 1.11 + try { 1.12 + location.hostname = 'foo'; 1.13 + } catch(e) { 1.14 + } 1.15 + } 1.16 + 1.17 + document.documentElement.removeAttribute("class"); 1.18 +} 1.19 +</script> 1.20 +</head> 1.21 +<body onload="setTimeout(boom, 30)"> 1.22 + 1.23 +</body> 1.24 + 1.25 +</html>