Closed Bug 1919493 Opened 2 years ago Closed 2 years ago

IDB: Fix handling of directory locks invalidated during database initialization

Categories

(Core :: Storage: IndexedDB, defect, P2)

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(7 external files)

No description provided.

IDB xpcshell tests historically always supported running only one generator
function or one async function. It turns out that the async function can call
add_task multiple times to add multiple subtests.

The new test reveals an edge case when the "Invalidate" IPC message is not sent
to the child causing a subsequent hang.

Blocks: 1919507
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0fd9a102c758 IDB: Add a new testing only notification for database work starting; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/eb5dc473f9bb IDB: Add support for pausing QM IO thread after finishing database initialization; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/98633372fc8c Add a test for origin clearing requested right after starting database work for IDB; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/bbd28f08e021 IDB: Add handling for directory locks invalidated during database initialization; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/3f7d77354fba IDB: Modify test_slowDatabaseInitialization.js to allow running multiple subtests; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/cc1a3741d9f3 Add a disabled test for origin clearing requested right after starting database work for already existing IDB database; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/75d840354401 IDB: Propagate database invalidation when the actor becomes alive; r=dom-storage-reviewers,jari
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: