Bug 1480027 - Part 4: Add test case for negative infinity delay and end delay. r=gl
authorDaisuke Akatsuka <dakatsuka@mozilla.com>
Wed, 15 Aug 2018 09:40:59 +0900
changeset 487416 f2c0be296f6f10567864fcd0f4d2e7c5da342c34
parent 487415 a2ad987a8861b30f011c4406a7b69494a0af4497
child 487417 77433149bfdcc82287acaed94b942818785b556e
child 487434 3378c38648970f1040a5db0e8f2cc72d308dea29
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgl
bugs1480027, 1271788
milestone63.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 1480027 - Part 4: Add test case for negative infinity delay and end delay. r=gl We skip this test on debug build, since an assersion failure occur of bug 1271788[1] from this test html. We will remove skip keyword if the bug fixed. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1271788 Differential Revision: https://phabricator.services.mozilla.com/D3381
devtools/client/inspector/animation/test/browser.ini
devtools/client/inspector/animation/test/doc_overflowed_delay_end_delay.html
--- a/devtools/client/inspector/animation/test/browser.ini
+++ b/devtools/client/inspector/animation/test/browser.ini
@@ -63,16 +63,17 @@ skip-if = (verify && !debug)
 [browser_animation_logic_adjust-time-with-playback-rate.js]
 [browser_animation_logic_auto-stop.js]
 [browser_animation_logic_avoid-updating-during-hiding.js]
 [browser_animation_logic_created-time.js]
 [browser_animation_logic_mutations.js]
 [browser_animation_logic_mutations_fast.js]
 [browser_animation_logic_mutations_properties.js]
 [browser_animation_logic_overflowed_delay_end-delay.js]
+skip-if = debug #bug 1480027
 [browser_animation_logic_scroll-amount.js]
 [browser_animation_pause-resume-button.js]
 [browser_animation_pause-resume-button_end-time.js]
 [browser_animation_pause-resume-button_respectively.js]
 [browser_animation_pause-resume-button_spacebar.js]
 [browser_animation_playback-rate-selector.js]
 [browser_animation_pseudo-element.js]
 [browser_animation_rewind-button.js]
--- a/devtools/client/inspector/animation/test/doc_overflowed_delay_end_delay.html
+++ b/devtools/client/inspector/animation/test/doc_overflowed_delay_end_delay.html
@@ -35,16 +35,38 @@
         id: "big-end-delay",
         duration: 1000,
         endDelay: Number.MAX_VALUE,
         iterations: Infinity,
       });
 
     target.animate(
       {
+        marginLeft: ["0px", "100px"]
+      },
+      {
+        id: "negative-big-delay",
+        duration: 1000,
+        delay: -Number.MAX_VALUE,
+        iterations: Infinity,
+      });
+
+    target.animate(
+      {
+        paddingLeft: ["0px", "100px"]
+      },
+      {
+        id: "negative-big-end-delay",
+        duration: 1000,
+        endDelay: -Number.MAX_VALUE,
+        iterations: Infinity,
+      });
+
+    target.animate(
+      {
         backgroundColor: ["lime", "white"]
       },
       {
         id: "big-iteration-start",
         duration: 1000,
         iterations: Infinity,
         iterationStart: Number.MAX_VALUE,
       });