Closed Bug 1919550 Opened 2 years ago Closed 2 years ago

LSNG: Fix handling of directory locks invalidated during database initialization for preloading

Categories

(Core :: Storage: localStorage & sessionStorage, defect, P2)

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(6 external files)

No description provided.
Blocks: 1919555

LSNG implementation already handles directory locks invalidated during database
initialization by invalidating corresponding PrepareDatastoreOp, this patch
just changes PrepareDatastoreOp::GetResponse to return a failure if the
operation has been invalidated in the preload mode.

LSNG implementation already handles directory locks invalidated during database
initialization by invalidating corresponding PrepareDatastoreOp, this patch
adds an extra check for that to PrepareDatastoreOp::GetResponse.

Attachment #9425769 - Attachment description: Bug 1919550 - LSNG: Change PrepareDatastoreOp::GetResponse to return a failure if the operation has been invalidated in the preload mode; r=#dom-storage → Bug 1919550 - LSNG: Reject promise for preloading if the operation has been invalidated; r=#dom-storage
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a1239d79e59 LSNG: Change dom.storage.testing pref to be safely accessible on any thread; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/acac1eadec75 LSNG: Add a new testing only notification for database work starting; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/dea9817c09c2 LSNG: Add support for pausing QM IO thread after finishing database initialization; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/95688a380774 Add a test for origin clearing requested right after starting database work for LSNG; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/40efaf80da15 LSNG: Reject promise for preloading if the operation has been invalidated; r=dom-storage-reviewers,asuth https://hg.mozilla.org/integration/autoland/rev/b17f4d3142ee LSNG: Add an extra check for invalidated directory locks to PrepareDatastoreOp::GetResponse; r=dom-storage-reviewers,asuth
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: