Chromium Code Reviews
DescriptionMake ImageBitmap transfers work in cases that require serialization
Transferring an ImageBitmap object, until now, relied on sharing a
RefPtr with the destination realm in order to pass the pixel data.
This mechanism does not work for all post message use cases. Some
cases require full serialization. This change fixes the all the
postMessage interfaces that use the PostMessage extended attribute
in the IDL by employing the same strategy that was used for
ArrayBuffer: to fallback to the structured clone code path, and neuter
the source object. This change does not fix window.postMessage
BUG=667910
Committed: https://crrev.com/6df1a49e882a63a088bbb2f62fe5a3b30c6d0633
Cr-Commit-Position: refs/heads/master@{#436774}
Patch Set 1 #Messages
Total messages: 16 (8 generated)
|