Bug 790252 - Add crashtests. r=mats
authorAbhishek Arya <inferno@chromium.org>
Sun, 01 Jul 2018 18:06:49 +0200
changeset 424601 46741f41dd4f4b175d58820e19d5679c36568136
parent 424600 39c8b18b6a7e51957728e3fdeb1373154fa66ed7
child 424602 719e70e65dc5429d7712ac2e0301ab4a37c77173
push id34219
push userccoroiu@mozilla.com
push dateMon, 02 Jul 2018 09:45:21 +0000
treeherdermozilla-central@9c02d2ecf220 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmats
bugs790252
milestone63.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 790252 - Add crashtests. r=mats
layout/generic/crashtests/790252-1.html
layout/generic/crashtests/790252-2.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/790252-1.html
@@ -0,0 +1,20 @@
+<style>body {
+    white-space: pre-line;
+    }
+#inner::first-letter {
+</style>
+><div id=inner><span> }#+G2_h
+ :g}aA$ LcQrnTL :flWIc1:/40LPmypIzLQM, 7V=N4
+ 	O K UL#f)MO=a8v8}#  GW}	7,/ O%G~6Cy p8W
+<style>
+.c0 { filter: inherit; direction: rtl; height: 17905;</style><script>
+var docElement = document.body ? document.body : document.documentElement;
+docElement.contentEditable = "true";
+function initCF() {
+try { test1 = document.createElementNS("http://www.w3.org/1999/xhtml", "video"); } catch(e) {}
+try { test2 = test1.cloneNode(true); } catch(e) {}
+try { test2.setAttribute("class", "c0"); } catch(e) {}
+try { docElement.appendChild(test2); } catch(e) {}
+}
+document.addEventListener("DOMContentLoaded", initCF, false);
+</script>>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/790252-2.html
@@ -0,0 +1,36 @@
+<!-- quirks mode -->
+<html>
+<head>
+<style>
+
+body { white-space: pre-line; }
+
+#inner::first-letter {}
+
+.c0 {
+  direction: rtl;
+  height: 1000em;
+}
+
+</style>
+
+<script>
+
+function initCF() {
+  dump("1\n");
+  var test2 = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
+  test2.setAttribute("class", "c0");
+  document.body.appendChild(test2);
+  dump("2\n");
+}
+document.addEventListener("DOMContentLoaded", initCF, false);
+
+</script>
+</head>
+<body>
+
+*<div id=inner><span> }#+G2_h
+ :g}aA$ LcQrnTL :flWIc1:/40LPmypIzLQM, 7V=N4
+ 	O K UL#f)MO=a8v8}#  GW}	7,/ O%G~6Cy p8W
+
+@</span></div></body></html>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -495,16 +495,18 @@ asserts(0-200) load 767765.html # bug 40
 load 769120.html
 asserts(0-2) load 769303-1.html # bug 1123979
 load 769303-2.html
 load 777838.html
 load 783228.html
 load 784600.html
 load 785555.html
 load 786740-1.html
+load 790252-1.html
+load 790252-2.html
 load 790260-1.html
 test-pref(font.size.inflation.emPerLine,15) load 791601.xhtml
 test-pref(font.size.inflation.minTwips,120) load 794693.html
 asserts-if(!Android,1) load 798020-1.html
 load 798235-1.html
 load 799207-1.html
 load 799207-2.html
 load 801268-1.html