Backed out 1 changesets (bug 1417600) for failing browser/components/customizableui/test/browser_972267_customizationchange_events.js r=backout on a CLOSED TREE

Backed out changeset 04dac3301ecd (bug 1417600)
This commit is contained in:
Andreea Pavel 2017-11-17 12:51:12 +02:00
parent 3039b5c625
commit eaff9152a3

View File

@ -608,12 +608,9 @@ CustomizeMode.prototype = {
resolve();
}
// Wait for a style flush to ensure we do start the animation.
BrowserUtils.promiseLayoutFlushed(this.document, "style", () => {
animationNode.classList.add("animate-out");
animationNode.ownerGlobal.gNavToolbox.addEventListener("customizationending", cleanupCustomizationExit);
animationNode.addEventListener("animationend", cleanupWidgetAnimationEnd);
});
animationNode.classList.add("animate-out");
animationNode.ownerGlobal.gNavToolbox.addEventListener("customizationending", cleanupCustomizationExit);
animationNode.addEventListener("animationend", cleanupWidgetAnimationEnd);
});
},