1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/xpconnect/crashtests/732870.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + var frameDoc = document.getElementById("f").contentDocument; 1.12 + var elem = frameDoc.documentElement; 1.13 + elem.dataset; 1.14 + document.adoptNode(elem); 1.15 + frameDoc.write("0"); 1.16 + frameDoc.close(); 1.17 + document.documentElement.removeAttribute("class"); 1.18 +} 1.19 + 1.20 +</script> 1.21 +</head> 1.22 + 1.23 +<body onload="boom();"> 1.24 +<iframe id="f" src="data:text/html,1"></iframe> 1.25 +</body> 1.26 +</html>