summaryrefslogtreecommitdiffstats
path: root/dom/xul/crashtests/384877-1-inner.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xul/crashtests/384877-1-inner.xhtml')
-rw-r--r--dom/xul/crashtests/384877-1-inner.xhtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/xul/crashtests/384877-1-inner.xhtml b/dom/xul/crashtests/384877-1-inner.xhtml
new file mode 100644
index 0000000000..bd75aa87a7
--- /dev/null
+++ b/dom/xul/crashtests/384877-1-inner.xhtml
@@ -0,0 +1,12 @@
+<menupopup xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="d" popup="d">
+<script>
+function doe() {
+var d = document.getElementById('d');
+if (d.openPopup) {
+ d.openPopup(document.documentElement, 'before_start', 0, 0, false, false);
+// alert(d.state);
+}
+
+setTimeout(doe, 200);
+</script>
+</menupopup>