summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/529670.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/529670.html')
-rw-r--r--dom/base/crashtests/529670.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/base/crashtests/529670.html b/dom/base/crashtests/529670.html
new file mode 100644
index 000000000..52e66ab8c
--- /dev/null
+++ b/dom/base/crashtests/529670.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Testcase for bug 529670</title>
+<script>
+function boom() {
+ document.createRange().getClientRects()
+ document.createRange().getBoundingClientRect()
+
+ var range = document.createRange();
+ range.detach();
+ range.getClientRects()
+ range.getBoundingClientRect()
+}
+</script>
+</head>
+<body onload="boom()"></body>
+</html>