When using the PeerConnection.createDataChannel() method on Chrome 24, when calling it without parameters it raise a 'not enought parameters' error, when according to spec it should be threated as being and empty string, but when adding any string there I get a 'non supported error' exception (code 9). Is DataChannel ready to be used or I'm doing something wrong?To check this you can use https://github.com/piranna/DataChannel-polyfill test. The polyfill works correctly on Chrome/Chromium v23, but on Chrome v24 it detects the native DataChannel support and use it instead, but when calling to createDataChannel on test/client.js:119 it gets the problems shown above.--
--
--
--
I know and I understand the reason, but it would be better to just not have it there in the first place. Those try/catch clauses can slow down the script execution and prevent optimizations in V8.
--
P.D.: yes, I'm the creator of the DataChannel polyfill, I forgot to mention it earlier... :-P