summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/604807.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/crashtests/604807.html')
-rw-r--r--dom/html/crashtests/604807.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/html/crashtests/604807.html b/dom/html/crashtests/604807.html
new file mode 100644
index 000000000..a519a778f
--- /dev/null
+++ b/dom/html/crashtests/604807.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<script>
+try {
+ var selectElem = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
+ selectElem.QueryInterface(Components.interfaces.nsISelectElement);
+ selectElem.getOptionIndex(null, 0, true);
+} catch (e) {
+}
+</script>