Bug 1378064 - Crashtest. r?emilio draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Sun, 16 Jul 2017 14:59:57 +0900
changeset 609418 917cac847b5a9feba547030d166c8e5d1349a58e
parent 609417 d88664698f7b2705875b6b0dabbb85c25eeb2ece
child 637565 71a1fb145dc9ab8fff45e91472e054724ae6ed53
push id68569
push userhikezoe@mozilla.com
push dateSun, 16 Jul 2017 06:00:30 +0000
reviewersemilio
bugs1378064
milestone56.0a1
Bug 1378064 - Crashtest. r?emilio MozReview-Commit-ID: AfwQiNcVWji
layout/style/crashtests/1378064-1.html
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1378064-1.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<title></title>
+<style>
+@keyframes anim {
+  to { transform: rotate(360deg); }
+}
+span {
+  color: black;
+  animation: anim 3s infinite;
+}
+span.red {
+  color: red;
+}
+</style>
+<div>
+<span id="target">text</span>
+<span>text</span>
+</div>
+<script>
+window.addEventListener('load', () => {
+  var target = document.getElementById('target');
+  target.classList.add('red');
+  requestAnimationFrame(() => {
+    target.classList.remove('red');
+    SpecialPowers.getDOMWindowUtils(window)
+                 .sendMouseEvent("mousemove", 100, 100, 1,
+                                 0, 1, 0);
+    requestAnimationFrame(() => {
+      document.documentElement.classList.remove("reftest-wait");
+    });
+  });
+
+  SpecialPowers.getDOMWindowUtils(window)
+               .sendMouseEvent("mousemove", 100, 100, 1,
+                               0, 1, 0);
+});
+</script>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -173,11 +173,12 @@ load 1356601-1.html
 load 1370793-1.xhtml
 load 1371450-1.html
 load 1374175-1.html
 load content-only-on-link-before.html
 load content-only-on-visited-before.html
 load 1375812-1.html
 load 1377053-1.html
 load 1377256-1.html
+load 1378064-1.html
 load 1378814.html
 load 1380800.html
 load link-transition-before.html