Re: [mediacapture-handle] Expose a MessagePort using Capture Handle (#70)

I like the minimal API in https://github.com/w3c/mediacapture-handle/issues/70#issuecomment-1406345920 on the controller, assuming `postMessage` is modeled on the one from [Window](https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-window-object:dom-window-postmessage): 
```js
partial interface CaptureController {
  undefined postMessage(any message, USVString targetOrigin, optional sequence<object> transfer = []);
  undefined postMessage(any message, optional WindowPostMessageOptions options = {});
```
That way, apps have `targetOrigin` to deal with navigation in the capturee.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-handle/issues/70#issuecomment-1414035579 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 2 February 2023 16:38:40 UTC