bug 386914 - crash test by Martijn Wargers.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:20 -0700
changeset 27782 9a7346ed943a659e1c67341645d75bf4c3a3cdfe
parent 27781 653797325dafd82e0d24d9197057a2c660c2f312
child 27783 c3900155298a641e5173e024c49f0127e8dc4a5e
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)
bugs386914
milestone1.9.2a1pre
bug 386914 - crash test by Martijn Wargers.
content/xul/document/crashtests/386914-1-inner.xul
content/xul/document/crashtests/386914-1.html
content/xul/document/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/xul/document/crashtests/386914-1-inner.xul
@@ -0,0 +1,10 @@
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="a">
+
+<box id="b" observes="a"/>
+
+<html:script xmlns:html="http://www.w3.org/1999/xhtml">
+document.getElementById('b').addEventListener('DOMAttrModified', function(e) {document.removeChild(document.documentElement);}, true);
+setTimeout(function() {document.getElementById('a').setAttribute('tabindex', '1') ;}, 100);
+</html:script>
+
+</window>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/content/xul/document/crashtests/386914-1.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait">
+<head>
+<script>
+setTimeout('document.documentElement.className = ""', 1000);
+</script>
+<body>
+<iframe src="386914-1-inner.xul"></iframe>
+</body>
+</html>
--- a/content/xul/document/crashtests/crashtests.list
+++ b/content/xul/document/crashtests/crashtests.list
@@ -1,3 +1,4 @@
 load 326204-1.xul
 load 344215-1.xul
+load 386914-1.html
 load 428951-1.xul