[wpt-sync] Sync PR 49907 - Reapply "IDB: direct reads for blobs"
Categories
(Core :: Storage: IndexedDB, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49907 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49907
Details from upstream follow.
Evan Stade <estade@google.com> wrote:
Reapply "IDB: direct reads for blobs"
This relands commit 60632268eadd3051d4ec88d62292b160682f8a56.
Difference to original: added support for AsDataPipeGetter and
extended blob-contenttype.any.js WPT to cover this case.Original change's description:
IDB: direct reads for blobs
For the standard case of a page reading IDB data from the blob store,
don't go through the blob registry on the i/o thread and instead
connect the IDB bucket thread directly to the renderer.In some other (rarer) cases the blob registry is still used. This
is accomplished by additionally registering a blob with
BlobStorageContext using the same UUID, which is necessary for:
- WriteBlobToFile(), which does lookup by UUID
- loading data for a blob:// URL, i.e. mojom::Blob::Load, which is
thunked through to the registry blob because implementation is non-
trivialBug: 373684390
Change-Id: I9235f23303e4e6a05bf12a8acff32a5fb4e2a565
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6113789
Commit-Queue: Evan Stade \<estade@chromium.org>
Reviewed-by: Steve Becker \<stevebe@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1400627}Bug: 373684390
Change-Id: Ie555cf4b583b862d306c43e3e4be76e957ea6c5aReviewed-on: https://chromium-review.googlesource.com/6138579
WPT-Export-Revision: 7f9b8bc1a4aef4d74aab98827395201e11ecde7f
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK
: 2
PASS
: 2
Chrome
OK
: 2
PASS
: 2
Description
•