-
Chris Cunningham authored
Updates Audio/Video Decoder to reject invalid codecs passed to configure(). A TypeError should be thrown. Additionally, if the config is valid but unsupported, throw a NotSupportedError. Adds wpt test to verify the behavior for validity. Support behavior is difficult to wpt test (varies by build/platform) - tested manually. Bug: 1113824 Change-Id: I647c476fa32e684d57816222e1787aeb8f723c25 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360312Reviewed-by:
Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Auto-Submit: Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#799271}
68319bd3