Tony Kovanen
8925b62e4e
Test fixes.
...
- Readded all the browsers to Zuul config.
- Fixed b64 encoding test, typo + we're better off asserting the actual b64
encoding.
- Got rid of the base64-js dependency only needed by the test described above.
- Running iPhone tests for 6.0 and above due to some really weird timeout
issues on older iPhone emulators, where tests do succeed when run
individually (and fail on no other browser even together).
2014-06-18 02:57:34 +03:00
Guillermo Rauch
fb17a52bc9
fix base64 test
2014-06-17 14:12:03 -07:00
Guillermo Rauch
b3129141e4
fix indent
2014-06-17 10:56:03 -07:00
Guillermo Rauch
570bcd0626
fix SCRIPT5022: SecurityError on IE
...
this error is not caused by cross-domain, but by the limit
on how many open connections the tab might have
thus we close each connection after the test is done
2014-06-17 09:34:41 -07:00
Tony Kovanen
5834fed8a9
Delete bad test, set timeouts before disconnecting eioc
2014-06-17 03:24:28 +03:00
Tony Kovanen
109395ee34
Propagating reconnecting and reconnection events to socket
2014-06-13 03:45:41 +03:00
Tony Kovanen
a20671c511
Propagate reconnection events to socket from manager
2014-06-13 03:28:38 +03:00
Kevin Ingersoll
f09d2b439c
Fix protocol regex, use falsy port, use href as unique ID
2014-06-12 14:16:07 -07:00
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
Tony Kovanen
7b8ba01e60
Fix reconnection tests on browsers using JSONP
2014-04-30 16:04:35 +03:00
Guillermo Rauch
7e7c0e1800
test: comment out bad tests
...
cc @j-salazar
2014-04-28 11:44:18 -07:00
Guillermo Rauch
ab0fa5bee7
test: fix global mem leak error
2014-04-28 11:21:15 -07:00
Tony Kovanen
5cbd005ef3
Test case for reconnection disabled
2014-03-12 19:05:14 +02:00
Tony Kovanen
50659849e4
Tests are now stable
2014-03-12 17:33:46 +02:00
Tony Kovanen
4636c6bbda
Increase timeout
2014-03-12 15:52:27 +02:00
Tony Kovanen
588d47e04d
Reconnects in open if it fails
2014-03-12 15:13:25 +02:00
Naoyuki Kanezawa
3ce84e2784
enable reconnection by default
2014-03-12 02:29:23 +09:00
Naoyuki Kanezawa
fc4cdb40e7
Merge remote-tracking branch 'upstream/master' into patch-2
...
Conflicts:
test/connection.js
2014-03-02 06:22:07 +09:00
Kevin Roark
2782221069
made text-blob-builder a module and added dev dependency
2014-02-20 18:31:19 -05:00
Kevin Roark
c2785fcbb1
fixed spacing on test and updated build
2014-02-20 17:23:49 -05: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
8a438a67a9
fix url for ie6-8
2014-02-11 18:13:25 -08:00
Guillermo Rauch
7466ebee3d
fix for old ies
2014-02-11 14:19:37 -08:00
Guillermo Rauch
bc937fc2fb
test: prevent global leak problems
2014-02-10 15:52:16 -08:00
Naoyuki Kanezawa
78f1fd152f
fix a namespace connection error
2014-02-09 03:19:28 +09:00
Brian Malehorn
01bf1a613b
fixed zuul redirect bug
...
url() has optional parameter loc
2014-02-08 12:53:40 -05:00
Guillermo Rauch
c5051b67e8
fix connection test
2013-12-26 23:35:50 -03: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
7e42ef05cc
url: restore location in tests
2013-12-26 22:00:41 -03:00
Guillermo Rauch
e65b9b5329
add zuul
2013-12-26 21:25:23 -03:00
Guillermo Rauch
b0046b6c4b
test: adapted url tests with new simplifications
2012-12-16 21:22:03 -03:00
Guillermo Rauch
98e939a2ea
test: remove emitter tests
2012-12-16 19:32:19 -03:00
Guillermo Rauch
510538813d
url: finished module with tests
2012-12-10 18:31:54 -03:00
Guillermo Rauch
d5652feadc
1.0 client initial commit
2012-12-10 03:31:57 -03:00
Guillermo Rauch
7b4cb7013e
test: adapted test for EventEmitter update
2012-08-13 14:02:01 -07:00
Chelsea Robb
a55ed9bf57
Renamed 'auto flush' option to manualFlush
2012-04-24 12:52:23 +10:00
Gabe Hollombe
76cf0b30cf
added tests for auto and manual buffer flushing
2012-04-23 18:01:37 +07:00
Guillermo Rauch
c1de89007a
Unicode snowman for you
2011-10-27 12:09:09 +08:00
Guillermo Rauch
7c2dbf3ba5
Added webworker
2011-10-18 16:31:53 -07:00
Guillermo Rauch
72a05035e0
Added webworker cs acceptance test
2011-10-18 16:31:28 -07:00
Guillermo Rauch
42e27e857c
Added unicode tests.
2011-09-03 13:26:22 -07:00
Guillermo Rauch
2a5c7b2c5b
Added parser test for newline.
2011-09-03 12:24:52 -07:00
Guillermo Rauch
85991d9e6a
Added acceptance test for sending newlines.
2011-09-03 12:22:17 -07:00
Guillermo Rauch
72e06aff1b
Fixed socket namespace connect test.
...
Remove broken alternative namespace connect test.
2011-08-12 10:13:24 -07:00
Arnout Kazemier
9ad05ab6d2
Passes test
2011-08-07 23:48:52 +02:00
Guillermo Rauch
7fbf340c63
Fixed builder test
2011-08-03 12:01:19 -07:00
Guillermo Rauch
6392a40388
Merge pull request #266 from 3rd-Eden/bugs/ie8
...
Small test case clean up
2011-08-02 16:03:19 -07:00