Tests for bug 579655, a=test
authorSimon Montagu <smontagu@smontagu.org>
Wed, 20 Oct 2010 18:18:04 +0200
changeset 56239 589f19de26c46bb9163d07ddc8235e60bde2eb98
parent 56238 7c6637b28e51cc6a9bbe59d4f674a7e383a6bf06
child 56241 051b5bc464432d093c94a23e80fd0650fd154efb
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest
bugs579655
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Tests for bug 579655, a=test
layout/base/crashtests/579655.html
layout/base/crashtests/crashtests.list
layout/reftests/bugs/579655-1-ref.html
layout/reftests/bugs/579655-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/579655.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<script type="text/javascript">
+function load()
+{
+  var bs=document.getElementById("b");
+  if(bs.lastChild){
+      bs.lastChild.textContent="text\/css";	
+      bs.textContent="head";
+  }
+}
+</script> 
+<body onload="load();">
+ <table > 
+   <td>
+     <p id="b">aaaa aaaa aaa aa aaaa aa aaaaaa aaaa aa aa aaa aaa aaaa aaaaaaa aaa aaaa aa a aaaa aaaa aaaaaaa aa aa aa aa aaaaaaa .</p>  
+      <body style="white-space:pre-wrap" >
+      </body>
+   </td>
+   <td dir="rtl" >
+     <body contenteditable="true"> 
+     </body>
+   </td> 
+ </table> 
+</body>
+</html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -305,10 +305,11 @@ load 541869-2.html
 load 559705.xhtml
 load 560441-1.xhtml
 load 560447-1.html
 load 564063-1.html
 load 567292-1.xhtml
 load 569018-1.html
 load 572003.xul
 load 572582-1.xhtml
+load 579655.html
 load 580494-1.html
 load 580834-1.xhtml
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/579655-1-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<body style="white-space:pre">
+ <table>
+   <td>
+     <p>Hello</p>
+      <body>
+      </body>
+   </td>
+   <td>
+     <body> 
+     </body>
+   </td> 
+ </table> 
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/579655-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <table>
+   <td>
+     <p>Hello</p>
+      <body style="white-space:pre">
+      </body>
+   </td>
+   <td>
+     <body contenteditable="true"> 
+     </body>
+   </td> 
+ </table> 
+</body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1485,16 +1485,17 @@ random-if(layersGPUAccelerated) == 56499
 == 571347-1b.html 571347-1-ref.html
 == 571347-2a.html 571347-2-ref.html
 == 571347-2b.html 571347-2-ref.html
 == 571347-2c.html 571347-2-ref.html
 == 571347-2d.html 571347-2-ref.html
 == 571347-3.html 571347-3-ref.html
 == 572598-1.html 572598-ref.html
 == 574898-1.html 574898-ref.html
+== 579655-1.html 579655-1-ref.html
 == 577838-1.html 577838-1-ref.html
 == 577838-2.html 577838-2-ref.html
 random-if(layersGPUAccelerated) == 579323-1.html 579323-1-ref.html
 == 579349-1.html 579349-1-ref.html
 == 580160-1.html 580160-1-ref.html
 HTTP(..) == 580863-1.html 580863-1-ref.html
 random-if(layersGPUAccelerated) == 581317-1.html 581317-1-ref.html
 == 581579-1.html 581579-1-ref.html