bug 384877 - crash test by Martijn Wargers.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:25 -0700
changeset 27802 cbef28dd9944299b339eb3ff7234be73bf4fcd66
parent 27801 4f5ce5b9d5252d40afba238076bf58a45686dcfc
child 27803 51e405d991ce96614ee1e2c846d2fa99258139af
push id6720
push userbclary@mozilla.com
push dateFri, 24 Apr 2009 17:10:36 +0000
treeherdermozilla-central@a1e84240b5c9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs384877
milestone1.9.2a1pre
bug 384877 - crash test by Martijn Wargers.
content/xul/content/crashtests/384877-1-inner.xul
content/xul/content/crashtests/384877-1.html
content/xul/content/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/xul/content/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>
new file mode 100644
--- /dev/null
+++ b/content/xul/content/crashtests/384877-1.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait">
+<head>
+<script>
+setTimeout('document.documentElement.className = ""', 1000);
+</script>
+<body>
+<iframe src="384877-1-inner.xul"></iframe>
+</body>
+</html>
--- a/content/xul/content/crashtests/crashtests.list
+++ b/content/xul/content/crashtests/crashtests.list
@@ -9,14 +9,15 @@ load 326864-1.xul
 load 326875-1.xul
 load 326881-1.xul
 load 329982-1.xhtml
 load 336096-1.xhtml
 load 354611-1.html
 load 360078-1.xhtml
 load 363791-1.xul
 load 384740-1.xul
+load 384877-1.html
 load 386947-1.xul
 load 425821-1.xul
 load 429085-1.xhtml
 load 431906-1.html
 load 451311-1.xul
 load 461917-1.xhtml