mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 1011854 - Remove usage of 2nd WeakMap#get parameter from SessionStore; r=ttaubert
--HG-- extra : rebase_source : a63bf620acd02ff5e72a0dc6821423d25a5f34e9
This commit is contained in:
parent
7b42dd4a97
commit
65f6702662
@ -3414,7 +3414,7 @@ let SessionStoreInternal = {
|
||||
* with respect to |browser|.
|
||||
*/
|
||||
isCurrentEpoch: function (browser, epoch) {
|
||||
return this._browserEpochs.get(browser.permanentKey, 0) == epoch;
|
||||
return (this._browserEpochs.get(browser.permanentKey) || 0) == epoch;
|
||||
},
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user