summaryrefslogtreecommitdiffstats
path: root/dom/localstorage
diff options
context:
space:
mode:
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: {} },