Bug 1178783: Add crashtest for (now-fixed) flexbox hang bug. (no review, test-only)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 05 Oct 2018 14:15:53 -0700
changeset 439893 82ed5b8d9f610d74ea7177ca49f066b7b6bb8706
parent 439892 6c48732725ecf42ca13ce54dce4e0f8786ef7487
child 439894 1522c7633aa80632a261704ed02c457f4413425d
push id34793
push usernerli@mozilla.com
push dateSat, 06 Oct 2018 09:27:58 +0000
treeherdermozilla-central@6f233fd06aac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1178783
milestone64.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 1178783: Add crashtest for (now-fixed) flexbox hang bug. (no review, test-only)
layout/generic/crashtests/1178783-1.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/1178783-1.html
@@ -0,0 +1,157 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <style>
+*
+{
+    margin: 0;
+    padding: 0;
+}
+html
+{
+    height: 100%;
+    display: flex;
+    flex-flow: row nowrap;
+}
+body
+{
+    flex: 1 1 0px;
+    min-width: 0;
+    display: flex;
+    flex-flow: row nowrap;
+}
+ul
+{
+    list-style: none;
+}
+.vertical
+{
+    flex: 1 1 0px;
+    min-width: 0;
+    display: flex;
+    flex-flow: column nowrap;
+}
+.vertical > li:first-child
+{
+    flex: 1 1 0px;
+    min-height: 0;
+    background-color: #0ff;
+}
+.vertical > li:last-child
+{
+    flex: 0 0 0px;
+    min-height: 0;
+    background-color: #f0f;
+    display: flex;
+    flex-flow: row nowrap;
+}
+.horizontal-separator
+{
+    flex: 0 0 5px;
+    cursor: row-resize;
+    background-color: #fff;
+}
+  </style>
+</head>
+<body>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+  <ul class="vertical">
+    <li></li>
+    <li class="horizontal-separator"></li>
+    <li>
+<!-- ... etc ... -->
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -606,16 +606,17 @@ load 1146107.html
 load 1146114.html
 asserts(0-20) load 1153478.html # bug 1144852
 load 1153695.html
 load 1156222.html
 load 1156257.html
 load 1157011.html
 load 1169420-1.html
 load 1169420-2.html
+load 1178783-1.html
 load 1183431.html
 load 1186147-1.html
 load 1221112-1.html
 load 1221112-2.html
 load 1221874-1.html
 load 1221904.html
 load 1222783.xhtml
 load 1223522.xhtml