Closed Bug 1773088 Opened 3 years ago Closed 3 years ago

Stop requiring specific actors to serialize Blobs over IPC

Categories

(Core :: IPC, task)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(3 files)

Since bug 1754004 the serialization of Blobs over IPC no longer requires specific actors to be used. This makes a lot of the complexity around the serialization APIs no longer necessary. This bug tracks removing the unnecessary complexity in these APIs.

This does a somewhat-shallow removal of the argument from the implementation
and all call-sites. Removing it from StructuredCloneData's serialization is
handled in the next part, as it is more widely used and complex.

This is largely a straightforward find and replace of various methods, with the
unnecessary arguments removed and compiler errors fixed.

Depends on D148531

This API should no longer be necessary, as there's nothing tied to a specific
actor in the serialized IPCBlob form any longer, so the value can be directly
transferred without special handling or re-serialization.

Depends on D148532

Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ce8e9ab36a6 Part 1: Stop requiring an actor to serialize blobs over IPC, r=asuth https://hg.mozilla.org/integration/autoland/rev/c3bcae27c660 Part 2: Stop requiring an actor to serialize StructuredCloneData over IPC, r=asuth https://hg.mozilla.org/integration/autoland/rev/9da38873f110 Part 3: Remove StealFromAndBuildClonedMessageData, r=asuth
See Also: → 1785940
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: