Bug 1308369 - Use longer duration to avoid intermittent failure. r?birtles draft
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Fri, 07 Oct 2016 10:48:56 +0900
changeset 421882 630bd7b87bf6351c37ca189c43506b3ba3dbcf43
parent 421880 58286ce1d3d105ba3e441ddf1e65d8682cd1c52f
child 533194 aff99de296a234bc044390c6fa59f4386eb166a1
push id31623
push userbmo:hiikezoe@mozilla-japan.org
push dateFri, 07 Oct 2016 01:49:36 +0000
reviewersbirtles
bugs1308369
milestone52.0a1
Bug 1308369 - Use longer duration to avoid intermittent failure. r?birtles MozReview-Commit-ID: 1PVKWIPm23B
dom/animation/test/chrome/test_running_on_compositor.html
--- a/dom/animation/test/chrome/test_running_on_compositor.html
+++ b/dom/animation/test/chrome/test_running_on_compositor.html
@@ -726,17 +726,17 @@ promise_test(function(t) {
   });
 }, 'Transitions override important rules');
 
 promise_test(function(t) {
   var div = addDiv(t, { style: 'transition: opacity 100s; ' +
                                'opacity: 0 !important' });
   getComputedStyle(div).opacity;
 
-  div.animate({ opacity: [ 0, 1 ] }, 10 * MS_PER_SEC);
+  div.animate({ opacity: [ 0, 1 ] }, 100 * MS_PER_SEC);
 
   div.style.setProperty('opacity', '1', 'important');
   getComputedStyle(div).opacity;
 
   var [transition, animation] = div.getAnimations();
 
   return Promise.all([transition.ready, animation.ready]).then(function() {
     assert_animation_is_not_running_on_compositor(transition,