forked from mirrors/gecko-dev
Bug 1869928 - Only sync throbber animations for tabs that are animating. r=mconley,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196537
This commit is contained in:
parent
f3e051f75a
commit
afe161fa94
1 changed files with 1 additions and 0 deletions
|
|
@ -784,6 +784,7 @@
|
|||
const animations = Array.from(
|
||||
aTab.container.getElementsByTagName("tab")
|
||||
)
|
||||
.filter(tab => tab.hasAttribute("busy"))
|
||||
.map(tab => {
|
||||
const throbber = tab.throbber;
|
||||
return throbber ? throbber.getAnimations({ subtree: true }) : [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue