Re: [media-source-tests] Added idlharness tests for the MSE spec. (#377)

@plehegar I created a new PR https://github.com/w3c/web-platform-tests/pull/708 & https://critic.hoppipolla.co.uk/r/911 so let's deal with further comments over there. For now, I made the changes you suggested -- though I actually couldn't use /common/media.js and getVideoURI as-is to deal with negotiating which codec to use. So I just rolled my own handling in the test to do something similar. Note that I don't have it catch the exception (NOT_SUPPORTED_ERR) that can get thrown by addSourceBuffe if it fails because of lack of support for whatever codec ends up being chosen -- because the error message will just get echoed to the test page anyway (and I thought that's the main convention we've been using for handling exceptions).

View on GitHub: https://github.com/w3c/web-platform-tests/pull/377#issuecomment-36472927

Received on Monday, 3 March 2014 00:12:12 UTC