зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1632319 - Remove soundplaying icon from tab when discarding browser. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D72656
This commit is contained in:
Родитель
0b5c0afcd0
Коммит
885b51f04c
|
@ -2441,8 +2441,13 @@
|
||||||
delete aTab._findBar;
|
delete aTab._findBar;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove stale loading attributes.
|
// Remove potentially stale attributes.
|
||||||
let attributesToRemove = ["busy", "progress", "pendingicon"];
|
let attributesToRemove = [
|
||||||
|
"busy",
|
||||||
|
"pendingicon",
|
||||||
|
"progress",
|
||||||
|
"soundplaying",
|
||||||
|
];
|
||||||
let removedAttributes = [];
|
let removedAttributes = [];
|
||||||
for (let attr of attributesToRemove) {
|
for (let attr of attributesToRemove) {
|
||||||
if (aTab.hasAttribute(attr)) {
|
if (aTab.hasAttribute(attr)) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче