summaryrefslogtreecommitdiffstats
path: root/dom/localstorage
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/localstorage
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/localstorage')
-rw-r--r--dom/localstorage/LSSnapshot.cpp2
-rw-r--r--dom/localstorage/test/unit/databaseShadowing-shared.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/dom/localstorage/LSSnapshot.cpp b/dom/localstorage/LSSnapshot.cpp
index 85920b8b09..a9c0c4bc5d 100644
--- a/dom/localstorage/LSSnapshot.cpp
+++ b/dom/localstorage/LSSnapshot.cpp
@@ -378,7 +378,7 @@ nsresult LSSnapshot::SetItem(const nsAString& aKey, const nsAString& aValue,
{
quota::ScopedLogExtraInfo scope{
- quota::ScopedLogExtraInfo::kTagContext,
+ quota::ScopedLogExtraInfo::kTagContextTainted,
"dom::localstorage::LSSnapshot::SetItem::UpdateUsage"_ns};
QM_TRY(MOZ_TO_RESULT(UpdateUsage(delta)), QM_PROPAGATE, QM_NO_CLEANUP,
([]() {
diff --git a/dom/localstorage/test/unit/databaseShadowing-shared.js b/dom/localstorage/test/unit/databaseShadowing-shared.js
index ffee8579cb..77d6c09e39 100644
--- a/dom/localstorage/test/unit/databaseShadowing-shared.js
+++ b/dom/localstorage/test/unit/databaseShadowing-shared.js
@@ -1,5 +1,7 @@
/* import-globals-from head.js */
+/* eslint-disable mozilla/no-comparison-or-assignment-inside-ok */
+
const principalInfos = [
{ url: "http://example.com", attrs: {} },