This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The behavior of the '2.2 endOfStream()' method is undefined in the case where the 'error' parameter is not either undefined, 'network', or 'decode'. The test suite being developed by acolwell asserts that 'error' parameters not matching the above should throw a TypeError, and should not modify the SourceBuffer.readyState, but this asserts behavior not in the spec.
These cases are covered by enumeration behavior defined in the WebIDL spec (http://www.w3.org/TR/WebIDL/#es-enumeration)
Thanks for the pointer.