diff options
Diffstat (limited to 'layout/xul/crashtests/384373.html')
-rw-r--r-- | layout/xul/crashtests/384373.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/xul/crashtests/384373.html b/layout/xul/crashtests/384373.html new file mode 100644 index 000000000..c3bc92f16 --- /dev/null +++ b/layout/xul/crashtests/384373.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML> +<html class="reftest-wait"><head> + <meta charset="utf-8"> + <title>Testcase for bug 384373</title> +<script> +function reload() { + this.location.reload(); +} +// Run the test for 1 second +setTimeout(function() { + document.body.getBoundingClientRect(); + document.documentElement.removeChild(document.body); + document.documentElement.className = ""; + }, 2000); +</script> +</head> +<body onload="document.body.getBoundingClientRect()"> + +<iframe src="384373-1.xul"></iframe> +<iframe onload="this.contentWindow.setTimeout(reload,500)" src="384373-2.xul"></iframe> + +</body> +</html> |