summaryrefslogtreecommitdiffstats
path: root/dom/xul/crashtests/384877-1-inner.xul
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xul/crashtests/384877-1-inner.xul')
-rw-r--r--dom/xul/crashtests/384877-1-inner.xul15
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/xul/crashtests/384877-1-inner.xul b/dom/xul/crashtests/384877-1-inner.xul
new file mode 100644
index 000000000..9bbfc07bd
--- /dev/null
+++ b/dom/xul/crashtests/384877-1-inner.xul
@@ -0,0 +1,15 @@
+<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);
+}
+
+if (d.showPopup)
+ d.showPopup();
+}
+setTimeout(doe, 200);
+</script>
+</menupopup>