Closed Bug 1831040 Opened 2 years ago Closed 2 years ago

Switch to more efficient clearing of private origins

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(1 file)

When a private browsing session ends, we clear all private origins by traversing all repositories looking for any origins matching the { "privateBrowsingId": 1 } origin pattern. This works, but it can be slow when the default repository contains many regular origin directories. Once IndexedDB starts using the new private repository, we can switch to more efficient clearing of private origins and just clear entire private repository.

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4f0b25db66d8 Switch to more efficient clearing of private origins; r=hsingh

Backed out along with Bug 1781201, Bug 1831046, Bug 1829814, Bug 1831039, Bug 1830887 (due to conflicts) for failures on test_upgrade_add_index.html.

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91b8aaee756d Switch to more efficient clearing of private origins; r=hsingh
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: