[Webkit-unassigned] [Bug 237403] New: Can't transfer an ImageBitmap through a MessageChannel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 2 18:54:53 PST 2022


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

            Bug ID: 237403
           Summary: Can't transfer an ImageBitmap through a MessageChannel
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tristan.fraipont at gmail.com
                CC: dino at apple.com

Transferring an ImageBitmap through the ports of a MessageChannel makes the `data` of the MessageEvent `null`.  
This doesn't happen when only cloning the ImageBitmap instead of transferring it. This also doesn't happen when transferring from a Worker's `postMessage` (this is being tested by WPT), nor when transferred from an WindowProxy, i.e this only concerns MessageChannel.

You can see a minimal repro at https://jsfiddle.net/1kzxvad9/

-- 
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/20220303/4fadb3c9/attachment.htm>


More information about the webkit-unassigned mailing list