Bug 1122414 part 3 - Update DevTools tests to expect a name for transitions; r=pbrosset
authorBrian Birtles <birtles@gmail.com>
Tue, 14 Apr 2015 09:15:09 +0900
changeset 270313 e8bd919e841d61397a637a76157ddaf13a781c13
parent 270312 71cd1e22d1062b2d21755e2d1b6325833fecf0ce
child 270314 a7248c0fbbc87bfc4a0663b15377e36abea392f4
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbrosset
bugs1122414
milestone40.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 1122414 part 3 - Update DevTools tests to expect a name for transitions; r=pbrosset
toolkit/devtools/server/tests/browser/browser_animation_actors_03.js
--- a/toolkit/devtools/server/tests/browser/browser_animation_actors_03.js
+++ b/toolkit/devtools/server/tests/browser/browser_animation_actors_03.js
@@ -51,17 +51,17 @@ function* playerStateIsCorrect(walker, f
   // null = infinite count
   is(state.iterationCount, null, "Iteration count is correct");
   is(state.playState, "running", "PlayState is correct");
   is(state.playbackRate, 1, "PlaybackRate is correct");
 
   info("Checking the state of the transition");
 
   state = yield getAnimationStateForNode(walker, front, ".transition", 0);
-  is(state.name, "", "Transition has no name");
+  is(state.name, "width", "Transition name matches transition property");
   is(state.duration, 5000, "Transition duration is correct");
   // transitions run only once
   is(state.iterationCount, 1, "Transition iteration count is correct");
   is(state.playState, "running", "Transition playState is correct");
   is(state.playbackRate, 1, "Transition playbackRate is correct");
 
   info("Checking the state of one of multiple animations on a node");