[Webkit-unassigned] [Bug 244882] New: IPC::Attachment is used as an encoded object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 00:47:00 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=244882

            Bug ID: 244882
           Summary: IPC::Attachment is used as an encoded object
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: kkinnunen at apple.com

IPC::Attachment is used as an encoded object

The original intent is that IPC::Attachment is an attachment to the IPC message.
Attachments are needed for those objects that cannot be transferred as data.

Incorrect:
Encode Connection port:
  - Interpret the Connection port as an Attachment
  - Encode the Attachment
    - Attachment::encode attaches the attachment to the Encoder attachments list

Correct:
Encode Connection port:
  - Construct an Attachment from the Connection port
  - Attach the Attachment to the Encoder attachments list

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220907/d0abc264/attachment.htm>


More information about the webkit-unassigned mailing list