зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1359815 - show throbber sooner; r=ralin
MozReview-Commit-ID: L3MX5AzwIY2 --HG-- extra : rebase_source : b2f57e6af9811d442c1315cc3f7f36487c33bf50
This commit is contained in:
Родитель
48ea643f20
Коммит
566e4381c9
|
@ -519,7 +519,10 @@
|
||||||
_delayShowThrobberWhileResumingVideoDecoder() {
|
_delayShowThrobberWhileResumingVideoDecoder() {
|
||||||
this._showThrobberTimer = setTimeout(() => {
|
this._showThrobberTimer = setTimeout(() => {
|
||||||
this.statusIcon.setAttribute("type", "throbber");
|
this.statusIcon.setAttribute("type", "throbber");
|
||||||
this.setupStatusFader();
|
// Show the throbber immediatelly since we have waited for SHOW_THROBBER_TIMEOUT_MS.
|
||||||
|
// We don't want to wait for another transition-delay(750ms) and the
|
||||||
|
// transition-duration(300ms).
|
||||||
|
this.setupStatusFader(true);
|
||||||
}, this.SHOW_THROBBER_TIMEOUT_MS);
|
}, this.SHOW_THROBBER_TIMEOUT_MS);
|
||||||
},
|
},
|
||||||
_cancelShowThrobberWhileResumingVideoDecoder() {
|
_cancelShowThrobberWhileResumingVideoDecoder() {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче