Closed Bug 1854182 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 42007 - IndexedDB: Fix quota miscalculation

Categories

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

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Evan Stade <estade@chromium.org> wrote:

IndexedDB: Fix quota miscalculation

Transactions can have multiple writes, but only the last write was
counted for the quota check. This was broken in
crrev.com/0e32ebfe62206b572a35b361992857572b20888d

Bug: none
Change-Id: I0a04becf9d1a215f28cb86990306aaab966d2b8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4866997
Commit-Queue: Evan Stade \<estade@chromium.org>
Reviewed-by: Ayu Ishii \<ayui@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1198091}

Component: web-platform-tests → Storage: Quota Manager
Product: Testing → Core

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL: 2

Chrome

OK : 2
FAIL: 2

Safari

OK : 2
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/44416d8bdde3 [wpt PR 42007] - IndexedDB: Fix quota miscalculation, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.