# HG changeset patch # User Frank-Rainer Grahl # Date 1623162001 14400 # Parent 24b3b2c7cc440678a23e7daf01bdfd030c5e0748 Bug 1473425 - Port Bug 1374892 [Consider removing the nsISHistoryListener exception throwing machinery that shows up in Speedometer] to SeaMonkey. diff --git a/suite/common/src/nsSessionStore.js b/suite/common/src/nsSessionStore.js --- a/suite/common/src/nsSessionStore.js +++ b/suite/common/src/nsSessionStore.js @@ -4147,13 +4147,19 @@ SessionStoreSHistoryListener.prototype = OnHistoryPurge: function(aNumEntries) { return true; }, OnHistoryReload: function(aReloadURI, aReloadFlags) { // On reload, we want to make sure that session history loads the right // URI. In order to do that, we will just call restoreTab. That will remove // the history listener and load the right URI. this.ss.restoreTab(this.tab); // Returning false will stop the load that docshell is attempting. return false; - } + }, + OnLengthChanged(aCount) { + // Ignore, the method is implemented so that XPConnect doesn't throw! + }, + OnIndexChanged(aIndex) { + // Ignore, the method is implemented so that XPConnect doesn't throw! + }, } var NSGetFactory = XPCOMUtils.generateNSGetFactory([SessionStoreService]);