You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
widlparser only seem to accept the syntax of the former example, and this is what we have in the spec today, but we'd like to merge w3c/webcodecs#488 to align with actual implementations.
The text was updated successfully, but these errors were encountered:
Here are two fragments of WebCodecs WebIDL:
and
The former is incorrect per spec, and the latter is the correct way to do this. Chromium's parser accepts the correct syntax (https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webcodecs/audio_decoder_config.idl;l=10-22?q=audiodecoderconfig&ss=chromium&start=11 is what they have in tree). Similarly, Firefox's WebIDL parser only accepts the correct syntax.
widlparser
only seem to accept the syntax of the former example, and this is what we have in the spec today, but we'd like to merge w3c/webcodecs#488 to align with actual implementations.The text was updated successfully, but these errors were encountered: