New issue
Advanced search Search tips

Issue 874302 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Support SharedArrayBuffer via BroadcastChannel

Project Member Reported by binji@chromium.org, Aug 15

Issue description

Passing SharedArrayBuffers over MessagePort to the same process works now See crbug.com/716320.

This works by passing a BlinkTransferableMessage over mojo, but only serializing it if the message needs to be sent across processes.

The BroadcastChannel needs to have the same behavior to support sharing SharedArrayBuffers -- currently it always serializes the BlinkCloneableMessage, which discards the SharedArrayBuffers stored on the SerializedScriptValue.
 
The tricky part here (as you probably already figured out) is that today Broadcast Channel messages always go through the browserproces, even for messages that end up back in the same process and/or thread.
 Issue 879510  has been merged into this issue.

Sign in to add a comment