- From: Ms2ger <ms2ger@gmail.com>
- Date: Sun, 10 Mar 2013 18:23:30 +0100
- To: Arthur Barstow <art.barstow@nokia.com>
- CC: Ken Reed <kenre@microsoft.com>, "public-webapps-testsuite@w3.org" <public-webapps-testsuite@w3.org>
On 03/10/2013 05:48 PM, Arthur Barstow wrote: > <http://w3c-test.org/webapps/WebSockets/tests/approved/binaryType-wrong-value.htm> > > > TC#1; Fail; "W3C WebSocket API - Create WebSocket - set binaryType to > something other than blob or arraybuffer - SYNTAX_ERR is returned - > Connection should be opened" ; "assert_throws: function "function () { > wsocket.binaryType = "notBlobOrArrayBuffer" }" did not throw" This test is incorrect: WebSocket.binaryType is an enum type, and these don't throw when you set them to an invalid value: <http://dev.w3.org/2006/webapi/WebIDL/#dfn-attribute-setter>, step 4. > TC#2 Not Run; "W3C WebSocket API - Create WebSocket - set binaryType to > something other than blob or arraybuffer - SYNTAX_ERR is returned - > Connection should be closed" ; "" This is probably a side-effect of the failure in the first test. HTH Ms2ger
Received on Sunday, 10 March 2013 17:24:00 UTC