1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/860579-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<script> 1.8 +function addFrame(contents) 1.9 +{ 1.10 + var frame = document.createElement("iframe"); 1.11 + frame.src = "data:text/html," + contents; 1.12 + document.body.appendChild(frame); 1.13 +} 1.14 +function boom() 1.15 +{ 1.16 + addFrame("1"); 1.17 + document.documentElement.offsetHeight; 1.18 + addFrame("2"); 1.19 + document.body.style.display = "table-caption"; 1.20 +} 1.21 +</script> 1.22 +</head> 1.23 +<body onload="boom();"></body> 1.24 +</html>