Commit Graph

7 Commits

Author SHA1 Message Date
Tony Kovanen
8d5ef935de Add tests for utf8 multibyte chracters 2014-05-31 01:39:44 +03:00
Tony Kovanen
9e6f519926 add test cases for dates in ack and on callbacks 2014-05-24 21:18:31 +03:00
Kevin Roark
9de6059d64 Merge branch 'upstream' into add/binary-support
Conflicts:
	.zuul.yml
	lib/socket.js
	package.json
	socket.io.js
	test/connection.js
	test/support/server.js
2014-02-19 18:16:55 -05:00
Kevin Roark
d5c35bb1f2 Added binary support to socket.io-client
Added changes to reflect socket.io-parser's async encoding, and use
of has-binarydata to check the event type of an event.

Next added browser tests for sending and receiving of binary data via
arraybuffers.

Then added blob tests and blob recognition.

To make blobs fully work (and Files as well), had to add packet buffering
to client so that slow-encoding blobs are still sent before other events.

I fixed a stupid bug I had added where I used the indexof module (for old
browsers) on a string somewhere instead of an array). This was causing
old IE to receive all events twice.

Old iphone tests were still failing so I updated tests to reflect that
some browsers can receive a blob but not construct them.

Finally, reduced build size by adding the "browser" field to package.json
and making browserify less confused.
2014-02-19 14:07:32 -05:00
Guillermo Rauch
dc2afa4bc1 more tests 2014-02-13 14:44:25 -08:00
Guillermo Rauch
0f4653c11a make url tests run only on node due to location pollution 2013-12-26 22:32:44 -03:00
Guillermo Rauch
e65b9b5329 add zuul 2013-12-26 21:25:23 -03:00