bug 431906 - crash test by Martijn Wargers.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:24 -0700
changeset 27799 9901f6f21c1cb5a6ee6a332b97a95259fd9f26a6
parent 27798 87cfec7c7f03f4aa4b732fcd5cd8d1b3de4dcd2d
child 27800 0d115aa982f1118ef737403a7ea1f1ad3bf79ce1
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)
bugs431906
milestone1.9.2a1pre
bug 431906 - crash test by Martijn Wargers.
content/xul/content/crashtests/431906-1-inner.xul
content/xul/content/crashtests/431906-1.html
content/xul/content/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/xul/content/crashtests/431906-1-inner.xul
@@ -0,0 +1,19 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<colgroup id="a" command="a">
+<box xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+<box id="a" command="a"/>
+<box id="a" command="a"/>
+</box>
+</colgroup>
+<script><![CDATA[
+function doe(){
+document.getElementsByTagName('*')[1].setAttribute('id','');
+document.getElementsByTagName('*')[1].setAttribute('xmlns', '');
+document.getElementsByTagName('*')[3].setAttribute('id','');
+
+document.getElementsByTagName('*')[4].removeAttribute('xmlns');
+document.getElementsByTagName('*')[4].setAttribute('width', '1px');
+}
+setTimeout(doe,100);
+]]></script>
+</html>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/content/xul/content/crashtests/431906-1.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait">
+<head>
+<script>
+setTimeout('document.documentElement.className = ""', 1000);
+</script>
+<body>
+<iframe src="431906-1-inner.xul"></iframe>
+</body>
+</html>
--- a/content/xul/content/crashtests/crashtests.list
+++ b/content/xul/content/crashtests/crashtests.list
@@ -12,10 +12,11 @@ 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 386947-1.xul
 load 425821-1.xul
 load 429085-1.xhtml
+load 431906-1.html
 load 451311-1.xul
 load 461917-1.xhtml