зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1533452 - Very frequent (80%) macOS debug TEST-UNEXPECTED-FAIL | leakcheck | default 3024989 bytes leaked (AbstractThread, AbstractWatcher, AnimationTimeline, AtomSet, AudioChannelAgent, ...) when Gecko 67 merges to Beta on 2019-03-11 r=dao
MozReview-Commit-ID: BTTLzWmA1HT Differential Revision: https://phabricator.services.mozilla.com/D23034 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b0162f4644
Коммит
82faf9e160
|
@ -8299,13 +8299,13 @@ var ConfirmationHint = {
|
|||
this._panel.setAttribute("hidearrow", "true");
|
||||
}
|
||||
|
||||
// The timeout value used here allows the panel to stay open for
|
||||
// 1.5s second after the text transition (duration=120ms) has finished.
|
||||
// If there is a description, we show for 4s and there is no text transition.
|
||||
const DURATION = options.showDescription ? 4000 : 1500 + 120;
|
||||
this._panel.addEventListener("popupshown", () => {
|
||||
this._animationBox.setAttribute("animate", "true");
|
||||
|
||||
// The timeout value used here allows the panel to stay open for
|
||||
// 1.5s second after the text transition (duration=120ms) has finished.
|
||||
// If there is a description, we show for 4s and there is no text transition.
|
||||
const DURATION = options.showDescription ? 4000 : 1500 + 120;
|
||||
setTimeout(() => {
|
||||
this._panel.hidePopup(true);
|
||||
}, DURATION);
|
||||
|
|
Загрузка…
Ссылка в новой задаче