User agents shouldn't throw a TypeError when an unrecognized codec string is
encountered since this is harmful for interop (e.g., one UA may only recognize
some versions of a codec string as valid according to its own codec specification).
This change removes the language around checking valid codec strings when
determining if a config is valid. It instead adds that language explicitly to
the "Check Configuration Support" algorithm so false or NotSupportedError
can be triggered in isConfigSupported andconfigure respectively.
User agents shouldn't throw a
TypeError
when an unrecognized codec string is encountered since this is harmful for interop (e.g., one UA may only recognize some versions of a codec string as valid according to its own codec specification).This change removes the language around checking valid codec strings when determining if a config is valid. It instead adds that language explicitly to the "Check Configuration Support" algorithm so
false
orNotSupportedError
can be triggered inisConfigSupported
andconfigure
respectively.Fixes #686
Preview | Diff