bug 344300 - crash test by Martijn Wargers.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:14 -0700
changeset 27751 b480ed41fe22e5471586b9b397115dcf9e32195d
parent 27750 1851743bd36eca100602ba5aa6b0e4cb046034ca
child 27752 73fa608afb0e72a025acd84e60c0e2cdeec1cdfe
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)
bugs344300
milestone1.9.2a1pre
bug 344300 - crash test by Martijn Wargers.
layout/base/crashtests/344300-1-inner.xhtml
layout/base/crashtests/344300-1.html
layout/base/crashtests/344300-2.html
layout/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/344300-1-inner.xhtml
@@ -0,0 +1,36 @@
+<hx xmlns="http://www.w3.org/1999/xhtml" style="display: table;">
+<script>
+/*template*/
+var doc = document;
+if (document.getElementById('content'))
+  doc = document.getElementById('content').contentDocument;
+
+function addstyles(){
+var x=doc.createElementNS('http://www.w3.org/1999/xhtml','style');
+x.innerHTML='\
+*::first-line { text-transform: uppercase; background-color:green; font-size:110%;}\
+*::after { content:"anonymous text"; float:right;border:3px solid black;text-transform: uppercase;}\
+*::before { content:"before text"; float:right;border:3px solid black;font-size: 10px;}\
+*::-moz-selection { outline: 2px solid blue;}\
+';
+doc.documentElement.appendChild(x);
+}
+
+function removestyles(i){
+
+
+var x=doc.getElementsByTagName('*');
+
+if (x[i])
+  {
+x[i].removeAttribute('style');
+}
+else { i = 0; }
+  i++;
+setTimeout(removestyles,50,i);
+}
+setTimeout(addstyles,200);
+setTimeout(removestyles,500,0);
+/*template*/
+</script>
+<var style="display: table-column-group;" onmouseover="this.removeAttribute('style')"> <q style="display: table-footer-group;" onmouseover="this.removeAttribute('style')"> </q><ins style="display: table-cell;" onmouseover="this.removeAttribute('style')"> <p style="display: list-item;" onmouseover="this.removeAttribute('style')"> </p><object style="display: -moz-inline-box;" onmouseover="this.removeAttribute('style')"> </object></ins></var><table style="display: -moz-inline-box;" onmouseover="this.removeAttribute('style')"> <ins style="display: -moz-inline-block;" onmouseover="this.removeAttribute('style')"> </ins></table><body style="display: table-column-group;" onmouseover="this.removeAttribute('style')"> </body><q style="display: table;" onmouseover="this.removeAttribute('style')"> </q></hx>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/344300-1.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait">
+<head>
+<script>
+setTimeout('document.documentElement.className = ""', 1000);
+</script>
+<body>
+<iframe src="344300-1-inner.xhtml"></iframe>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/344300-2.html
@@ -0,0 +1,10 @@
+<html><body>
+<object style="display:-moz-deck;">
+<noscript>
+</noscript>
+</object>
+</body></html>
+
+
+
+
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -90,16 +90,18 @@ load 338703-1.html
 load 339651-1.html
 load 340093-1.xul
 load 341858-1.html
 load 343293-1.xhtml
 load 343293-2.xhtml
 load 343540-1.html
 load 344057-1.xhtml
 load 344064-1.html
+load 344300-1.html
+load 344300-2.html
 load 344340-1.xul
 load 347898-1.html
 load 348688-1.html
 load 348708-1.xhtml
 load 349095-1.xhtml
 load 350128-1.xhtml
 load 354766-1.xhtml
 load 354771-1.xul