mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 17:47:34 +09:00
[Pale-Moon] No issue - Silence tab closing animation assert if the tabbrowser is not visible
This commit is contained in:
parent
aadd6244c1
commit
4a9e6100ec
1 changed files with 3 additions and 1 deletions
|
|
@ -1972,7 +1972,9 @@
|
||||||
setTimeout(function (tab, tabbrowser) {
|
setTimeout(function (tab, tabbrowser) {
|
||||||
if (tab.parentNode &&
|
if (tab.parentNode &&
|
||||||
window.getComputedStyle(tab).maxWidth == "0.1px") {
|
window.getComputedStyle(tab).maxWidth == "0.1px") {
|
||||||
NS_ASSERT(false, "Giving up waiting for the tab closing animation to finish (bug 608589)");
|
if (this.visible) {
|
||||||
|
NS_ASSERT(false, "Giving up waiting for the tab closing animation to finish (bug 608589)");
|
||||||
|
}
|
||||||
tabbrowser._endRemoveTab(tab);
|
tabbrowser._endRemoveTab(tab);
|
||||||
}
|
}
|
||||||
}, 3000, aTab, this);
|
}, 3000, aTab, this);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue