1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/crashtests/344882-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +<html class="reftest-wait"> 1.5 +<head> 1.6 +<script> 1.7 +var obj; 1.8 + 1.9 +function boo() 1.10 +{ 1.11 + obj = document.getElementById("obj"); 1.12 + setScriptSrc(); 1.13 +} 1.14 + 1.15 +function setScriptSrc() 1.16 +{ 1.17 + obj.data = "javascript:setScriptSrc2();"; 1.18 +} 1.19 + 1.20 +function setScriptSrc2() 1.21 +{ 1.22 + obj.data = "javascript:void 0"; 1.23 + 1.24 + document.documentElement.removeAttribute("class"); 1.25 +} 1.26 + 1.27 +</script> 1.28 +</head> 1.29 + 1.30 +<body onload="setTimeout(boo, 30);"> 1.31 + 1.32 +<object data="../../../testing/crashtest/images/tree.gif" id="obj"> 1.33 + 1.34 +</body> 1.35 + 1.36 +</html>