summaryrefslogtreecommitdiffstats
path: root/dom/localstorage/ActorsParent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/localstorage/ActorsParent.cpp')
-rw-r--r--dom/localstorage/ActorsParent.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/dom/localstorage/ActorsParent.cpp b/dom/localstorage/ActorsParent.cpp
index 2554628d7f..639c3822ac 100644
--- a/dom/localstorage/ActorsParent.cpp
+++ b/dom/localstorage/ActorsParent.cpp
@@ -1530,9 +1530,7 @@ class Datastore final
uint32_t PrivateBrowsingId() const { return mPrivateBrowsingId; }
bool IsPersistent() const {
- // Private-browsing is forbidden from touching disk, but
- // StorageAccess::eSessionScoped is allowed to touch disk because
- // QuotaManager's storage for such origins is wiped at shutdown.
+ // Private-browsing is forbidden from touching disk.
return mPrivateBrowsingId == 0;
}