Issue metadata
Sign in to add a comment
|
ImageBitmap transfers are broken for cross-process transfers |
||||||||||||||||||||||||
Issue descriptionCurrently, the mechanism for transferring an ImageBitmap object uses RefPtr<StaticBitmapImage> as a vehicle for passing the pixel data between realms. This does not work if the target realm is in another process. A cross-process transfer can arise with the following use case: 1. do a window.open() 2. Navigating the new window via omnibox to a different site will put it in a different process 3. Doing a postMessage to its window handle will result in a cross-process postMessage. out-of-process iframe are another problematic use case.
,
Nov 29 2016
This bug will be partially fixed by https://codereview.chromium.org/2541683002/ After landing that CL, cross-process transfers via MessageChannel will work. However, the postMessage method of the Window interface, will still be broken for ImageBitmap transfers.
,
Dec 7 2016
Comment #2 is wrong: Window.postMessage does not support transferring, it only does clone. So there is nothing more to do here |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by lukasza@chromium.org
, Nov 29 2016