Closed Bug 1791750 Opened 2 years ago Closed 2 years ago

Add support for using QuotaObject in content processes

Categories

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

task

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(3 files)

QuotaObject can be used only in the parent process currently which is ok for existing quota clients which write to files only in the parent process. OPFS wants to write to files directly in content processes, so we need to add support for using QuotaObject in content processes (with efficiency in mind).

Depends on: 1791755
Depends on: 1791758
Depends on: 1791761
Depends on: 1791762
Depends on: 1769057

This just about adding a new argument to all relevant places.

Depends on D157822

Quota clients need a way to track RemoteQuotaObjectParents, so they can release
their directory locks only when RemoteQuotaObjectParents are destroyed (which
releases the CanonicalQuotaObject).

Depends on D164340

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/663813256989 Add support for using QuotaObject in content processes; r=ipc-reviewers,nika https://hg.mozilla.org/integration/autoland/rev/41611701c542 Add a new argument to serialization methods for passing optional callbacks; r=dom-storage-reviewers,ipc-reviewers,nika,jari https://hg.mozilla.org/integration/autoland/rev/47cc5ed103a3 Introduce RemoteQuotaObjectParentTracker; r=dom-storage-reviewers,jari
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: