Bug 1448732 - Part 3: Adjust requestLongerTimeout. r=pbro draft
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Tue, 03 Apr 2018 12:26:57 +0900
changeset 776443 b136930a83fd165552ef8c62f529f8d639484f83
parent 776442 98a9bb6339d34872009ce6e57fc81f36b415fa7e
push id104883
push userbmo:dakatsuka@mozilla.com
push dateTue, 03 Apr 2018 03:27:41 +0000
reviewerspbro
bugs1448732
milestone61.0a1
Bug 1448732 - Part 3: Adjust requestLongerTimeout. r=pbro MozReview-Commit-ID: Ia4mjyHyBci
devtools/client/inspector/animation/test/browser_animation_animation-detail_visibility.js
devtools/client/inspector/animation/test/browser_animation_empty_on_invalid_nodes.js
devtools/client/inspector/animation/test/browser_animation_keyframes-graph_computed-value-path.js
devtools/client/inspector/animation/test/browser_animation_keyframes-progress-bar.js
--- a/devtools/client/inspector/animation/test/browser_animation_animation-detail_visibility.js
+++ b/devtools/client/inspector/animation/test/browser_animation_animation-detail_visibility.js
@@ -1,17 +1,15 @@
 /* Any copyright is dedicated to the Public Domain.
    http://creativecommons.org/publicdomain/zero/1.0/ */
 
 "use strict";
 
 // Test that whether animations detail could be displayed if there is selected animation.
 
-requestLongerTimeout(2);
-
 add_task(async function() {
   await addTab(URL_ROOT + "doc_custom_playback_rate.html");
   const { animationInspector, inspector, panel } = await openAnimationInspector();
 
   info("Checking animation detail visibility if animation was unselected");
   const detailEl = panel.querySelector("#animation-container .controlled");
   ok(detailEl, "The detail pane should be in the DOM");
   const win = panel.ownerGlobal;
--- a/devtools/client/inspector/animation/test/browser_animation_empty_on_invalid_nodes.js
+++ b/devtools/client/inspector/animation/test/browser_animation_empty_on_invalid_nodes.js
@@ -1,14 +1,12 @@
 /* Any copyright is dedicated to the Public Domain.
    http://creativecommons.org/publicdomain/zero/1.0/ */
 "use strict";
 
-requestLongerTimeout(2);
-
 // Test that the panel shows no animation data for invalid or not animated nodes
 
 add_task(async function() {
   await addTab(URL_ROOT + "doc_simple_animation.html");
   await removeAnimatedElementsExcept([".animated", ".long", ".still"]);
   const { inspector, panel } = await openAnimationInspector();
 
   info("Checking animation list and error message existence for a still node");
--- a/devtools/client/inspector/animation/test/browser_animation_keyframes-graph_computed-value-path.js
+++ b/devtools/client/inspector/animation/test/browser_animation_keyframes-graph_computed-value-path.js
@@ -4,18 +4,16 @@
 "use strict";
 
 // Test for following ComputedValuePath component:
 // * element existence
 // * path segments
 // * fill color by animation type
 // * stop color if the animation type is color
 
-requestLongerTimeout(2);
-
 const TEST_DATA = [
   {
     targetClass: "multi-types",
     properties: [
       {
         name: "background-color",
         computedValuePathClass: "color-path",
         expectedPathSegments: [
--- a/devtools/client/inspector/animation/test/browser_animation_keyframes-progress-bar.js
+++ b/devtools/client/inspector/animation/test/browser_animation_keyframes-progress-bar.js
@@ -4,17 +4,17 @@ http://creativecommons.org/publicdomain/
 "use strict";
 
 // Test for following KeyframesProgressBar:
 // * element existence
 // * progress bar position in multi effect timings
 // * progress bar position after changing playback rate
 // * progress bar position when select another animation
 
-requestLongerTimeout(5);
+requestLongerTimeout(2);
 
 const TEST_DATA = [
   {
     targetClass: "cssanimation-linear",
     scrubberPositions: [0, 0.25, 0.5, 0.75, 1],
     expectedPositions: [0, 0.25, 0.5, 0.75, 0],
   },
   {