Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Bug 608589 - Avoid false positives when complaining about tabs that f…
Browse files Browse the repository at this point in the history
…ailed to close. r=gavin a=b
  • Loading branch information
daogottwald committed Jan 14, 2011
1 parent 2efaeba commit a9fbb45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion browser/base/content/tabbrowser.xml
Expand Up @@ -1459,7 +1459,8 @@
aTab.removeAttribute("fadein");
setTimeout(function (tab, tabbrowser) {
if (tab.parentNode) {
if (tab.parentNode &&
window.getComputedStyle(tab).maxWidth == "0.1px") {
NS_ASSERT(false, "Giving up waiting for the tab closing animation to finish (bug 608589)");
tabbrowser._endRemoveTab(tab);
}
Expand Down

0 comments on commit a9fbb45

Please sign in to comment.