Closed Bug 1540733 Opened 5 years ago Closed 5 years ago

Avoid re-using the IPCBlobInputStreamChild objects when migrating

Categories

(Core :: DOM: File, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(1 file)

Migrating this object between threads currently, and thus using the same object for multiple IPC channels, violates some of the invariants expected by the patch in bug 1540731.

Clearing the manager property and re-using one of these actors should not be done. Instead, this patch could be fixed by creating a new set of actors, and rewriting all IPCBlobInputStream objects to reference it when performing a migration.

No longer blocks: 1540731
Type: defect → enhancement
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a7cbe0438433
Create a new IPCBlobInputStreamChild actor when migrating, r=baku
Flags: needinfo?(nika)
Assignee: nobody → nika
Flags: needinfo?(nika)
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6de795fcf1fa
Create a new IPCBlobInputStreamChild actor when migrating, r=baku
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: