Closed Bug 1815837 Opened 2 years ago Closed 2 years ago

Deserialize RandomAccessStream on WritableFileStream TaskQueue

Categories

(Core :: DOM: File, task, P3)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: jjalkanen, Assigned: jjalkanen)

References

Details

Attachments

(1 file)

When random access stream and the quota object it contains are deserialized, the quota object may contact quota manager's database which may involve IO, and therefore there are asserts which make sure that deserialization cannot be done on threads which cannot be blocked without problematic consequences.

FileSystemWritableFileStream contains a TaskQueue riding on stream transport service and it's probably simplest to perform the deserialization there.

Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5393e7c8353c Deserialize RandomAccessStream on WritableFileStream TaskQueue. r=dom-storage-reviewers,janv
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Regressions: 1856072
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: