summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/369219-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/369219-1.xhtml')
-rw-r--r--dom/base/crashtests/369219-1.xhtml19
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/base/crashtests/369219-1.xhtml b/dom/base/crashtests/369219-1.xhtml
new file mode 100644
index 000000000..b44242d26
--- /dev/null
+++ b/dom/base/crashtests/369219-1.xhtml
@@ -0,0 +1,19 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script>
+
+function boom()
+{
+ var select = document.getElementById("sss");
+ select.options.add.call(null, 0);
+}
+
+</script>
+</head>
+
+<body onload="boom();">
+
+<select id="sss"><option>foo</option></select>
+
+</body>
+</html>