Re: [mediacapture-fromelement] The sequence canvas.transferControlToOffscreen() followed by canvas.captureStream() does not appear to be specified (#84)

The closest we get to consistency is Chromium implementation, although the `width` and `height` of HTML `canvas` element is not set to the `width` and `height` of the `OffscreenCanvas` before the next "microtask"

```
// the width and height of OffscreenCanvas were set in Worker thread
// the below assertions occur in main thread after posting message from Worker
console.assert(canvas.width === width && canvas.height === height, [width, height, canvas.width, canvas.height]); // (index):24 Assertion failed: (4) [499, 259, 300, 150]
```

Nightly support for `canvas` attribute at `ImageBitmapRenderingContext` is WIP (https://bugzilla.mozilla.org/show_bug.cgi?id=1603339; https://plnkr.co/edit/eXESuVqOp5J9AAAft07E?p=preview include `console.log(ctx.canvas)` at line #17). 

Need to go through all of the tests that ran one by one before posting a comprehensive list of the issues that encountered at Chromium and Nightly, respectively.

-- 
GitHub Notification of comment by guest271314
Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/84#issuecomment-574299953 using your GitHub account

Received on Tuesday, 14 January 2020 18:04:05 UTC