Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes GoogleChrome#766 Create offscreen document, use WebRTC RTCDataChannel to send ArrayBuffer(s) from ServiceWorker to Web page. Ideally this can be solved by programmatically setting WindowClient to arbitrary Web page, getting a reference to offscreen window, or setting opener on offscreen window for ability to use onmessage and postMessage(data, target, [data]) directly. RTCDataChannel send() does not transfer data. It does send ArrayBuffer(s) transferred from ServiceWorker to offscreen window to Web page window.
- Loading branch information