mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
+ 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:
parent
a8c8eef11b
commit
af4689c99a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user