Bug 1343552 - Add crashtests. r=mats
authorIvan Fratric <ifratric@google.com>
Sun, 01 Jul 2018 18:06:49 +0200
changeset 424586 a5e810e1c07cc4c8f4b07b88566c6db113a0e37b
parent 424585 5bad07995b937efcddf56ba99e7033d1e0422e46
child 424587 ba2c446c8f3156e6b7461f64440ac4f669e1038d
push id104857
push usermpalmgren@mozilla.com
push dateSun, 01 Jul 2018 16:07:04 +0000
treeherdermozilla-inbound@c25668460f0d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmats
bugs1343552
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 1343552 - Add crashtests. r=mats
layout/generic/crashtests/1343552-1.html
layout/generic/crashtests/1343552-2.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/1343552-1.html
@@ -0,0 +1,32 @@
+<style>
+.class1 { float: left; white-space: pre-line; }
+.class2 { border-bottom-style: solid; font-face: Arial; font-size: 7ex; }
+</style>
+<script>
+function go() {
+  menuitem.appendChild(document.body.firstChild);
+  canvas.toBlob(callback);
+}
+function callback() {
+  var s = menu.style;
+  s.setProperty("flex-direction", "row-reverse");
+  option.scrollBy();
+  document.implementation.createHTMLDocument("foo").adoptNode(progress);
+  s.setProperty("flex-direction", "column");
+  canvas.toBlob(callback);
+}
+</script>
+aaaaaaaaaaaaaaaaaa
+</head>
+<body onload=go()>
+<del class="class1">
+<span class="class2">
+<menu id="menu">
+<menuitem>
+</menu>
+<menuitem id="menuitem">
+<progress id="progress">
+</del>
+<ol dir="rtl">l+0</ol>
+<canvas id="canvas">
+<option id="option">
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/1343552-2.html
@@ -0,0 +1,31 @@
+<style>
+.class1 { float: left; white-space: pre-line; }
+.class2 { border-bottom-style: solid; font-face: Arial; font-size: 7ex; }
+</style>
+<script>
+function go() {
+  progress.remove();
+  menu.style.setProperty("flex-direction", "column");
+  setTimeout(callback,0);
+}
+function callback() {
+  menu.style.setProperty("flex-direction", "row-reverse");
+  option.scrollBy();
+}
+</script>
+<body onload=go()>
+<del class="class1">
+<span class="class2">
+<menu id="menu">
+<menuitem>
+</menuitem></menu>
+<menuitem id="menuitem">
+<progress id="progress">
+</progress>aaaaaaaaaaaaaaaaaa
+                                                                                                                                                  
+
+</menuitem></span></del>
+<ol dir="rtl"></ol>
+<canvas id="canvas">
+<option id="option">
+</option></canvas>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -657,16 +657,18 @@ skip-if(webrender) load large-border-rad
 skip-if(webrender) load large-border-radius-dotted2.html # see bug 1409243, not handled by webrender
 load 1278461-1.html
 load 1278461-2.html
 load 1281102.html
 load 1297427-non-equal-centers.html
 load 1304441.html
 load 1308876-1.html
 load 1316649.html
+load 1343552-1.html
+load 1343552-2.html
 load 1349650.html
 asserts-if(browserIsRemote,0-5) load 1349816-1.html # bug 1350352
 load 1350372.html
 load 1364361-1.html
 load 1367413-1.html
 load 1368617-1.html
 load 1373586.html
 load 1375858.html