summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/720305-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/xpconnect/crashtests/720305-1.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/xpconnect/crashtests/720305-1.html b/js/xpconnect/crashtests/720305-1.html
new file mode 100644
index 0000000000..84f1c62670
--- /dev/null
+++ b/js/xpconnect/crashtests/720305-1.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<script>
+
+var c = document.getElementsByClassName("x");
+Object.defineProperty(c, "length", {set: void 0});
+Array.prototype.shift.call(c);
+
+</script>