Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 608589 - Avoid false positives when complaining about tabs that f…

…ailed to close. r=gavin a=b
  • Loading branch information...
commit a9fbb459768ecd9bd8470a5c610d6c54baf351ff 1 parent 2efaeba
Dão Gottwald authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  browser/base/content/tabbrowser.xml
View
3  browser/base/content/tabbrowser.xml
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.