mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 1689601, remove an assertion in SessionStorageManager.cpp since it isn't valid anymore with bfcache, r=peterv,ttung
Differential Revision: https://phabricator.services.mozilla.com/D105233
This commit is contained in:
parent
12a97288a1
commit
8871d57cd7
@ -48,9 +48,10 @@ void RecvPropagateBackgroundSessionStorageManager(
|
||||
if (sManagers) {
|
||||
if (RefPtr<BackgroundSessionStorageManager> mgr =
|
||||
sManagers->Get(aCurrentTopContextId)) {
|
||||
// Assuming the target top browsing context should haven't been
|
||||
// registered yet.
|
||||
MOZ_DIAGNOSTIC_ASSERT(!sManagers->Contains(aTargetTopContextId));
|
||||
// Because of bfcache, we may re-register aTargetTopContextId in
|
||||
// CanonicalBrowsingContext::ReplacedBy.
|
||||
// XXXBFCache do we want to tweak this behavior and ensure this is
|
||||
// called only once?
|
||||
sManagers->InsertOrUpdate(aTargetTopContextId, std::move(mgr));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user