Bug 1304168 - Use correct function name to remove event listener. r=sebastian
authorJan Henning <jh+bugzilla@buttercookie.de>
Tue, 20 Sep 2016 22:20:23 +0200
changeset 314776 639092fd692dfce849416032b586563f1e291154
parent 314775 d527e405b0112b00ac8792967bab4d7bdbd821a0
child 314898 c448ad05dea9dff0ccbbb953ec9b6082b92b6f25
push id32482
push users.kaspari@gmail.com
push dateThu, 22 Sep 2016 10:26:53 +0000
treeherderautoland@639092fd692d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian
bugs1304168
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1304168 - Use correct function name to remove event listener. r=sebastian MozReview-Commit-ID: HJgrdLstQ3R
mobile/android/components/SessionStore.js
--- a/mobile/android/components/SessionStore.js
+++ b/mobile/android/components/SessionStore.js
@@ -566,17 +566,17 @@ SessionStore.prototype = {
     this._updateCrashReportURL(aWindow);
   },
 
   onTabRemove: function ss_onTabRemove(aWindow, aBrowser, aNoNotification) {
     // Cleanup event listeners
     aBrowser.removeEventListener("DOMTitleChanged", this, true);
     aBrowser.removeEventListener("load", this, true);
     aBrowser.removeEventListener("pageshow", this, true);
-    aBrowser.removeListener("AboutReaderContentReady", this, true);
+    aBrowser.removeEventListener("AboutReaderContentReady", this, true);
     aBrowser.removeEventListener("change", this, true);
     aBrowser.removeEventListener("input", this, true);
     aBrowser.removeEventListener("DOMAutoComplete", this, true);
     aBrowser.removeEventListener("scroll", this, true);
     aBrowser.removeEventListener("resize", this, true);
 
     delete aBrowser.__SS_data;