Closed Bug 1916276 Opened 5 months ago Closed 5 months ago

Warn when storage.session quota is hit on release

Categories

(WebExtensions :: Storage, task, P1)

task

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: robwu, Assigned: rpl)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

As a first step, before actually rolling out the enforcement of going over-quota in the storage.session API (bug 1915688), we could at least log a warning when that happens.

This warning can rely on the existing checks from bug 1908925, at https://searchfox.org/mozilla-central/rev/55f2ada1564baaeebd69d277b38737961a3ca5f3/toolkit/components/extensions/ExtensionStorage.sys.mjs#525

Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/9d26459fa322 Log a warning on storage.session.set calls that exceed the quota while it is not enforced. r=robwu
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: