author | Patrick Brosset <pbrosset@mozilla.com> |
Fri, 13 Feb 2015 05:41:00 -0500 | |
changeset 229030 | 248aac04b9d85ecbab43fbfce134211f468e96ab |
parent 229029 | 9dde2d05baa7f0ffff680696cd9362fd719d8caf |
child 229031 | ae0ae6c0e1ad36ec9bfd4936eeff1fcb4b42b791 |
push id | 28280 |
push user | cbook@mozilla.com |
push date | Mon, 16 Feb 2015 14:48:41 +0000 |
treeherder | mozilla-central@2a6a0c025c7b [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bgrins |
bugs | 1132783 |
milestone | 38.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
|
--- a/browser/devtools/animationinspector/test/head.js +++ b/browser/devtools/animationinspector/test/head.js @@ -154,17 +154,22 @@ let openAnimationInspector = Task.async( inspector.sidebar.select("animationinspector"); info("Waiting for the inspector and sidebar to be ready"); yield promise.all(initPromises); let win = inspector.sidebar.getWindowForTab("animationinspector"); let {AnimationsController, AnimationsPanel} = win; - yield AnimationsPanel.once(AnimationsPanel.PANEL_INITIALIZED); + info("Waiting for the animation controller and panel to be ready"); + if (AnimationsPanel.initialized) { + yield AnimationsPanel.initialized; + } else { + yield AnimationsPanel.once(AnimationsPanel.PANEL_INITIALIZED); + } return { toolbox: toolbox, inspector: inspector, controller: AnimationsController, panel: AnimationsPanel, window: win };