-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Description
When looking a Clone Configuration, and after having found a bug in Gecko, a DOM developer said:
This looks very underspecified in the spec. For one, I don't think any spec defines what assign a copy of config[m] to clone[m]
means. And either that can throw exceptions, and it should be specified what needs to happen, or it doesn't and we need to
figure out what to do in our implementation.
It can throw an exception, a minimal test case (adapted from our bug) would be:
var buf = new ArrayBuffer(4);
buf.transferToFixedLength()
VideoDecoder.isConfigSupported({"codec": "፝a", "description":buf})Chromium says:
Uncaught (in promise) TypeError: Failed to execute 'isConfigSupported' on 'VideoDecoder': description is detached.
which makes sense to me, but we need to spec it.
Metadata
Metadata
Assignees
Labels
No labels