[web-audio-api] Make the usage of content sniffing for decodeAudioData explicit (#57)

> Originally reported on W3C Bugzilla [ISSUE-21702](https://www.w3.org/Bugs/Public/show_bug.cgi?id=21702) Mon, 15 Apr 2013 21:46:34 GMT
> Reported by Ehsan Akhgari [:ehsan]
> Assigned to 

We should probably explicitly say in the spec that the buffer passed to decodeAudioData should be sniffed to get the content type, according to the http://mimesniff.spec.whatwg.org/ spec, and that the implementation must reject buffers that do not pass that content sniffing.

This will help in situations like https://bugzilla.mozilla.org/show_bug.cgi?id=861187, where one implementation (Gecko) cannot sniff the content type properly but another (WebKit) can.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/57

Received on Wednesday, 11 September 2013 14:29:40 UTC