Closed youennf closed 9 months ago
@dalecurtis, I filed this issue following on our WPT test discussions. Let me know if that aligns with your thoughts. I can also submit the corresponding PR(s) if that helps.
I'm not sure about [[codec saturated]]
since that might have performance implications, but the rest sgtm and matches what our implementation (after the recent fixes). Your help with the PRs would be most welcome, thanks!
Additional remark related to [[codec implementation]]as spec says it should only be used from the [[codec queue]]. But the spec currently signals or clears [[codec implementation]] from reset/close algorithms, which can be called from JS directly, without queueing a task to the [[codec queue]].
Following on https://github.com/web-platform-tests/interop/issues/382#issuecomment-1731669384 and https://github.com/web-platform-tests/wpt/pull/42127, we could improve the spec related to the configure methods.
In particular:
Other editorial notes while reading the spec (probably applicable to all decoders/encoders) :