Commit Graph
4 Commits
Author SHA1 Message Date
Alexandre Poirot b38e2f3feb Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc
2016-08-31 09:39:42 -07:00
Patrick Brosset 3f028a52db Bug 1206345 - Force a state update in browser_animation_reconstructState.js; r=jdescottes
This test wasn't using refreshState, instead it used getCurrentState.
What refreshState does on top of getCurrentState is it stores the new state
locally.
getCurrentState isn't meant to be called externally, it is only meant to be
an actor method interceptor that reconstructs the missing state.
So the test should have used refreshState from the start.

Turns out it worked in most cases because the animation did have a startTime
when the test retrieved it, so it had a previousStartTime.
But, if for some reason, the animation has a startTime=null when the test
starts, then the value never gets to the front, and bad things happen.

MozReview-Commit-ID: 2nEIKHMHsCS
2016-04-12 15:24:38 +02:00
Patrick Brosset 797c7644aa Bug 1197100 - 3 - Remove code duplication in animation actor tests; r=miker 2015-09-29 16:43:48 +02:00
Patrick Brosset 689a967841 Bug 1197100 - 2 - Rename all animation actor tests so the filenames actually make sense; r= miker 2015-09-29 15:51:23 +02:00