+ Tab Candy now only watches the window it's in. This fixes a number of issues, including some nasty ones with pop ups. This is a full fix for https://bugzilla.mozilla.org/show_bug.cgi?id=567007 and a partial fix for https://bugzilla.mozilla.org/show_bug.cgi?id=567006

This commit is contained in:
Ian Gilman 2010-05-19 16:58:35 -07:00
parent a8c8eef11b
commit af4689c99a

View File

@ -586,6 +586,7 @@ window.TabsManager = $.extend(new Subscribable(), {
};
}
/*
var browserWatcher = new BrowserWatcher(
{onLoad: function(chromeWindow) {
var trackedWindow = trackedWindows.get(chromeWindow);
@ -599,6 +600,7 @@ window.TabsManager = $.extend(new Subscribable(), {
browserWindow.unload();
}
});
*/
this.__defineGetter__("tabs", function() { return tabs; });
@ -606,7 +608,7 @@ window.TabsManager = $.extend(new Subscribable(), {
this,
function() {
tabsMixIns.unload();
browserWatcher.unload();
/* browserWatcher.unload(); */
});
window.Tabs = tabs;