Closed Bug 1973799 Opened 10 months ago Closed 10 months ago

[wpt-sync] Sync PR 53362 - IDB: handle double deletion in SQLite store.

Categories

(Core :: Storage: IndexedDB, task, P4)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 53362 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/53362
Details from upstream follow.

Evan Stade <evanstade@microsoft.com> wrote:

IDB: handle double deletion in SQLite store.

calling deleteDatabase() on a non-existent database normally doesn't
even create a Database object, but if it does exist and
deleteDatabase is called on it twice, the first call will delete the
DatabaseConnection and the second call (enqueued behind the first)
needs to be able to handle this state.

Bug: 40253999
Change-Id: I64279e940e79af5435447cda7cf9304d5f61a288
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6658503
Reviewed-by: Abhishek Shanthkumar \<abhishek.shanthkumar@microsoft.com>
Commit-Queue: Evan Stade \<evanstade@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1478097}

Component: web-platform-tests → Storage: IndexedDB
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 4 subtests

Status Summary

Firefox

OK : 4
PASS: 16

Chrome

OK : 4
PASS: 16

Safari

OK : 4
PASS: 16

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
You need to log in before you can comment on or make changes to this bug.