mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 784040 - Add some missing listener unregistrations to the tab object. r=mfinkle
This commit is contained in:
parent
54dfdde6b0
commit
d7b5ec1ef7
@ -2404,16 +2404,19 @@ Tab.prototype = {
|
||||
this.browser.contentWindow.controllers.removeController(this.overscrollController);
|
||||
|
||||
this.browser.removeProgressListener(this);
|
||||
this.browser.sessionHistory.removeSHistoryListener(this);
|
||||
|
||||
this.browser.removeEventListener("DOMContentLoaded", this, true);
|
||||
this.browser.removeEventListener("DOMLinkAdded", this, true);
|
||||
this.browser.removeEventListener("DOMTitleChanged", this, true);
|
||||
this.browser.removeEventListener("DOMWindowClose", this, true);
|
||||
this.browser.removeEventListener("DOMWillOpenModalDialog", this, true);
|
||||
this.browser.removeEventListener("scroll", this, true);
|
||||
this.browser.removeEventListener("MozScrolledAreaChanged", this, true);
|
||||
this.browser.removeEventListener("PluginClickToPlay", this, true);
|
||||
this.browser.removeEventListener("PluginPlayPreview", this, true);
|
||||
this.browser.removeEventListener("PluginNotFound", this, true);
|
||||
this.browser.removeEventListener("MozScrolledAreaChanged", this, true);
|
||||
this.browser.removeEventListener("pageshow", this, true);
|
||||
|
||||
Services.obs.removeObserver(this, "before-first-paint");
|
||||
Services.prefs.removeObserver("browser.ui.zoom.force-user-scalable", this);
|
||||
|
Loading…
Reference in New Issue
Block a user