Bug 1401801 - Crash test. r=birtles, a=sledru
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Mon, 25 Sep 2017 12:29:43 +0900
changeset 434308 4320c131a141e90615af4e0e7178172ce5b9b68a
parent 434307 0da6b667a44dc48788f517e213f680e78c87e0c5
child 434309 012dbe7d4f1985b8b54775237ff53d0135e50b54
push id1567
push userjlorenzo@mozilla.com
push dateThu, 02 Nov 2017 12:36:05 +0000
treeherdermozilla-release@e512c14a0406 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles, sledru
bugs1401801
milestone57.0
Bug 1401801 - Crash test. r=birtles, a=sledru MozReview-Commit-ID: 4fuwnHtYcBY
layout/style/crashtests/1401801.html
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1401801.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<style>
+#test {
+  display: none;
+  width: 100px;
+  height: 100px;
+}
+</style>
+<div id="test"></div>
+<script>
+  test.animate({ backgroundColor: [ 'red', 'blue' ] },
+               { duration: 1000,
+                 iterations: Infinity });
+
+  requestAnimationFrame(() => {
+    requestAnimationFrame(() => {
+      document.styleSheets[0].cssRules[0].style.setProperty('display', 'block');
+      test.getBoundingClientRect();
+      document.documentElement.classList.remove('reftest-wait');
+    });
+  });
+</script>
+</html>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -221,9 +221,10 @@ load 1398581.html
 load 1400035.html
 load 1399546.html
 load 1400325.html
 load 1400926.html
 load 1400936-1.html
 load 1400936-2.html
 load 1401256.html
 load 1401706.html
+load 1401801.html
 load 1402472.html