Commit Graph

123 Commits

Author SHA1 Message Date
nkzawa
38df10d5f5 fix a test 2015-09-12 04:43:32 +09:00
Luigi Pinca
f9d1becfba socket: fix host parsing for IPv6 URLs 2015-05-02 15:17:13 +02:00
Adriano Raiano
98ce907ac7 one test for xhr and one for ws 2015-04-06 23:07:07 +02:00
Naoyuki Kanezawa
9f42b8b41f fix variable name for tests 2015-01-25 05:25:40 +09:00
Tony Kovanen
84eb8f13de Fix IE tests firing too many connections 2015-01-18 22:13:14 +02:00
Roman Shtylman
bfc48ec4ad fix default port detection when host is specified
This fixes an issue when a full url is specified (i.e.
http://service.com) the port would be the port from the page and not the
uri string. This is easily exposed if using external engine.io servers
on a page served up by localhost:3000 or similar from a development
page.
2015-01-11 16:32:35 -08:00
Guillermo Rauch
25238a4bed test: remove test with partial browser support 2014-10-27 10:46:04 -07:00
Tony Kovanen
1642bf1214 Merge pull request #341 from yujiosaka/master
IE10 should prefer using XHR2 over XDR because it's safer
2014-10-20 02:55:15 +03:00
Naoyuki Kanezawa
866a56ed20 wait for buffer to be drained before closing 2014-10-04 21:57:35 +09:00
Tony Kovanen
16f1a06d97 Move ws upgrade needing connection tests to a block checking browser support. 2014-09-26 01:41:43 +03:00
Guillermo Rauch
0097a5e255 Merge pull request #324 from nkzawa/patch-5
Defer close while upgrading a transport
2014-09-25 15:32:33 -07:00
yujiosaka
850072e3f1 IE10 should prefer using XHR2 over XDR because it's safer 2014-09-04 17:38:39 +09:00
yujiosaka
9e17a422cb check enablesXDR option when Request.hasXDR is called just in case 2014-08-20 07:51:01 +09:00
yujiosaka
b1e1755a7d disabled XDomainRequest as default and added enablesXDR option to enable it 2014-08-18 07:50:36 +09:00
yujiosaka
89ec0efe74 IE8 should use XDomainRequest to avoid loading bar flashing 2014-08-18 02:17:31 +09:00
Naoyuki Kanezawa
f9eed0ef32 check readyState in sendPacket and close on upgradeError too 2014-07-19 17:16:23 +09:00
Tony Kovanen
42b1773713 style and close socket after assert 2014-06-23 19:48:09 +03:00
Tony Kovanen
389878b3cb Rename noJSONP to jsonp (that can be set to false to disable jsonp) 2014-06-23 18:33:48 +03:00
Tony Kovanen
269bdfff23 Possibility to disable JSONP. Emitting an error if JSONP is the only available transport. 2014-06-23 02:04:48 +03:00
Tony Kovanen
8102833c27 Disable ws tests on IE11 because saucelabs breaks them. Let's run them in a VM until things get sorted out 2014-06-20 02:01:44 +03:00
Naoyuki Kanezawa
9ea654138d fix a test for ws 2014-06-08 20:06:17 +09:00
Julian Salazar
42dac5826e Make don't-ping test browser-only 2014-05-19 16:45:24 -07:00
Guillermo Rauch
44b35738b8 Merge pull request #270 from j-salazar/noping
Don't ping when socket closed by open handler
2014-05-19 14:06:31 -07:00
Julian Salazar
7afd8c8273 Don't ping when socket closed by open handler 2014-05-19 06:23:58 -07:00
Guillermo Rauch
da07eb713b removing flashsocket, moving to userland 2014-05-17 15:24:51 -07:00
Tony Kovanen
a42fc93340 Tests for multibyte strings 2014-04-30 03:13:03 +03:00
Guillermo Rauch
6fb3d800d9 Merge pull request #280 from get/parseqs
querystring turned into module, removed from util.js
2014-04-11 09:14:09 -07:00
Tony Kovanen
449bb12572 Ignoring test for closing an incorrect connection for situations leading to JSONP polling 2014-04-11 16:59:23 +03:00
Tony Kovanen
aad85cb2bd JSONP and test fixes for fails in IE 2014-04-11 15:39:14 +03:00
GK
c38b041195 removed redundant util.js test file 2014-03-30 17:34:42 -04:00
GK
85a858bc68 merged with master 2014-03-30 17:26:46 -04:00
GK
3bbb714a13 querystring extracted from util.js into own npm module 2014-03-30 17:19:44 -04:00
Tony Kovanen
e303c080a9 Added android as a browser for testing fixed tests accordingly 2014-03-16 14:18:44 +02:00
Tony Kovanen
cfba060d8a Cleaned up tests by using the blob module 2014-03-09 01:30:41 +02:00
Tony Kovanen
2f470cadd9 Removed parser tests. Parser has it's own tests 2014-03-09 00:52:08 +02:00
Guillermo Rauch
b084823008 Merge pull request #266 from get/parsejson_new
ParseJSON and parseURI made into their own modules
2014-03-08 19:40:36 -02:00
rase-
bce783641b Style 2014-03-08 22:46:41 +02:00
GK
74fb64e122 fixed package.json merge issues 2014-03-06 19:55:08 -05:00
Tony Kovanen
55f10e68b3 Removed the global dependency 2014-03-07 01:44:16 +02:00
Guillermo Rauch
0beb956530 Revert "Make timestamping default for sockets"
This reverts commit efc5ff99d1.
2014-02-20 10:54:51 -08:00
Guillermo Rauch
d91662e39d Merge pull request #250 from j-salazar/multisockets
Force timestamping for sockets
2014-02-20 10:41:57 -08:00
Guillermo Rauch
423f84d820 run browserify without shims 2014-02-20 08:54:35 -08:00
Julian Salazar
efc5ff99d1 Make timestamping default for sockets 2014-02-20 01:21:34 -08:00
Tony Kovanen
43721adf2d Merged current master 2014-02-19 18:35:05 +02:00
Tony Kovanen
69eb14b7b2 Increased timeout in binary fallback test 2014-02-18 23:54:23 +02:00
Guillermo Rauch
746f4cfa30 Revert "don't override empty opts.port"
This reverts commit 1bf90f5aaa.
2014-02-17 14:52:11 -08:00
Julian Salazar
1bf90f5aaa don't override empty opts.port 2014-02-17 14:38:10 -08:00
Tony Kovanen
33b5e79ca1 Testing for base64 fallback mechanism now run for browsers that don't support binary types 2014-02-16 09:18:32 +02:00
Tony Kovanen
990fbc9158 Better hack for running iPhone tests. New simulators now also run ws tests. 2014-02-16 03:09:59 +02:00
Nick LaGrow
d38c58b772 Add tests for remembering websocket upgrade
Add 'rememberUpgrade' section. Tests whether sockets remember the upgrade to
webscoket if and only if the 'rememberUpgrade' flag is set.
2014-02-15 16:38:03 -05:00