summaryrefslogtreecommitdiffstats
path: root/dom/localstorage
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /dom/localstorage
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/localstorage')
-rw-r--r--dom/localstorage/ActorsParent.cpp4
-rw-r--r--dom/localstorage/LocalStorageManager2.cpp2
-rw-r--r--dom/localstorage/PBackgroundLSDatabase.ipdl2
-rw-r--r--dom/localstorage/SnappyUtils.cpp2
-rw-r--r--dom/localstorage/nsILocalStorageManager.idl2
5 files changed, 5 insertions, 7 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;
}
diff --git a/dom/localstorage/LocalStorageManager2.cpp b/dom/localstorage/LocalStorageManager2.cpp
index 5e19cf2254..cd2cd9eca0 100644
--- a/dom/localstorage/LocalStorageManager2.cpp
+++ b/dom/localstorage/LocalStorageManager2.cpp
@@ -223,7 +223,7 @@ LocalStorageManager2::PrecacheStorage(nsIPrincipal* aPrincipal,
// implementation to perform a preload in the content/current process. That's
// not how things work in LSNG. Instead everything happens in the parent
// process, triggered by the official preloading spot,
- // ContentParent::AboutToLoadHttpFtpDocumentForChild.
+ // ContentParent::AboutToLoadHttpDocumentForChild.
return NS_ERROR_NOT_IMPLEMENTED;
}
diff --git a/dom/localstorage/PBackgroundLSDatabase.ipdl b/dom/localstorage/PBackgroundLSDatabase.ipdl
index 2f2f9dffac..179bd4164d 100644
--- a/dom/localstorage/PBackgroundLSDatabase.ipdl
+++ b/dom/localstorage/PBackgroundLSDatabase.ipdl
@@ -89,7 +89,7 @@ struct LSSnapshotInitInfo
* calls to PBackground are the only viable mechanism because blocking
* PBackground is not acceptable. (Note that an attempt is made to minimize any
* I/O latency by triggering preloading from
- * ContentParent::AboutToLoadHttpFtpDocumentForChild, the central place
+ * ContentParent::AboutToLoadHttpDocumentForChild, the central place
* for pre-loading.)
*/
[ChildImpl=virtual, ParentImpl=virtual]
diff --git a/dom/localstorage/SnappyUtils.cpp b/dom/localstorage/SnappyUtils.cpp
index cf47421bc5..cf8c08e13f 100644
--- a/dom/localstorage/SnappyUtils.cpp
+++ b/dom/localstorage/SnappyUtils.cpp
@@ -16,7 +16,7 @@
namespace mozilla::dom {
-static_assert(SNAPPY_VERSION == 0x010109);
+static_assert(SNAPPY_VERSION == 0x010200);
bool SnappyCompress(const nsACString& aSource, nsACString& aDest) {
MOZ_ASSERT(!aSource.IsVoid());
diff --git a/dom/localstorage/nsILocalStorageManager.idl b/dom/localstorage/nsILocalStorageManager.idl
index 0e8db22482..6ee29b4e14 100644
--- a/dom/localstorage/nsILocalStorageManager.idl
+++ b/dom/localstorage/nsILocalStorageManager.idl
@@ -20,7 +20,7 @@ interface nsILocalStorageManager : nsISupports
/**
* Trigger preload of LocalStorage for the given principal. For use by
- * ContentParent::AboutToLoadHttpFtpDocumentForChild to maximize the
+ * ContentParent::AboutToLoadHttpDocumentForChild to maximize the
* amount of time we have to load the data off disk before the page might
* attempt to touch LocalStorage.
*