Bug 341382 - Add crashtests.
authorMats Palmgren <matspal@gmail.com>
Fri, 25 Jan 2013 18:34:30 +0100
changeset 119888 a1b9d63c84828a33eb4f86a8d19a65a2b7a6f616
parent 119887 1b8bb5a1530710ea49f5c96270b0af1e8e0fbda3
child 119889 308b0c3494ef4573d951b3592fc13601b8503181
push id24231
push userryanvm@gmail.com
push dateSun, 27 Jan 2013 00:13:14 +0000
treeherdermozilla-central@d802d6faa080 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs341382
milestone21.0a1
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
Bug 341382 - Add crashtests.
layout/base/crashtests/341382-1.html
layout/base/crashtests/341382-2.html
layout/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/341382-1.html
@@ -0,0 +1,22 @@
+<html class="reftest-wait"><head>
+<title>Testcase bug 341382 - Crash [@ DoDeletingFrameSubtree] with position:fixed and display: table-caption</title>
+<script>
+function removestyles(i){
+document.getElementById('one').removeAttribute('style');
+document.body.offsetHeight;
+document.getElementById('two').removeAttribute('style');
+document.documentElement.removeAttribute("class");
+}
+
+
+</script></head>
+<body onload="setTimeout(removestyles,0);">
+<span></span>
+<table style="display: table-row-group;">
+<table>
+<span id="one" style="display: table-caption;">
+  <span style="position: fixed;"></span>
+  <div id="two" style="display: table-caption;"></div>
+</span>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/341382-2.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait"><head><script>
+function removestyles(i){
+document.getElementById('one').removeAttribute('style');
+document.body.offsetHeight;
+document.getElementById('two').removeAttribute('style');
+document.documentElement.removeAttribute("class");
+}
+
+</script></head><body onload="setTimeout(removestyles,0);"><table style="display: table-row-group;"><table><span id="one" style="display: table-caption;"><i style="position: fixed;"></i><div id="two" style="display: table-caption;"></div></span></body></html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -88,16 +88,18 @@ load 336291-1.html
 load 336999-1.xul
 load 337066-1.xhtml
 load 337268-1.html
 load 337419-1.html
 load 337476-1.xul
 load 338703-1.html
 load 339651-1.html
 load 340093-1.xul
+load 341382-1.html
+load 341382-2.html
 asserts-if(browserIsRemote,1) load 341858-1.html # bug 622188
 load 342145-1.xhtml
 load 343293-1.xhtml
 load 343293-2.xhtml
 load 343540-1.html
 load 344057-1.xhtml
 load 344064-1.html
 load 344300-1.html