Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix addSourceBuffer(null) test case expectation (web-platform-tests#3653
) A null value passed to a non-nullable method DOMString argument is converted to a DOMString "null". Therefore, it is not an empty string, and the addSourceBuffer() implementation should instead throw a NotSupportedException per the spec: "If type contains a MIME type that is not supported or contains a MIME type that is not supported with the types specified for the other SourceBuffer objects in sourceBuffers, then throw a NotSupportedError exception and abort these steps."
- Loading branch information