diff options
Diffstat (limited to '')
-rw-r--r-- | layout/style/crashtests/690990-1.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/style/crashtests/690990-1.html b/layout/style/crashtests/690990-1.html new file mode 100644 index 0000000000..19520e4f90 --- /dev/null +++ b/layout/style/crashtests/690990-1.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + +<link id="e" href="data:text/css,.ref { background-color: green; }" rel="stylesheet"> + +<script> + +function boom() +{ + document.documentElement.appendChild(document.getElementById("e")); + document.styleSheets[0].cssRules[0]; + // Remove reftest-wait async so we give the SheetComplete a chance to run + setTimeout(function() { document.documentElement.className = ""; }, 0); +} + +</script> + +<body onload="boom();"></body> + +</html> |