Commit Graph

136 Commits

Author SHA1 Message Date
Damien Arrachequesne
9c449675cb Fix tests in IE < 10 (WebSocket not supported) 2016-01-03 22:23:48 +01:00
Damien Arrachequesne
0ee8de320a Fix ws in browser 2016-01-02 20:32:37 +01:00
Guillermo Rauch
1e7b9ebcb8 Merge pull request #416 from lpinca/use/yeast
transports: use `yeast` to generate the cache busting id
2015-12-02 09:27:52 -08:00
nkzawa
97cb6c61e9 add a test 2015-12-02 20:46:29 +09:00
nkzawa
1096ca6f61 fix ipv6 support and add tests 2015-12-02 17:59:11 +09:00
nkzawa
cc8200fd21 threshold for permessage-deflate 2015-12-01 15:31:31 +09:00
nkzawa
e55cf32691 fix the case where done() called multiple times 2015-11-27 03:59:17 +09:00
nkzawa
281bf7e759 fix Syntax error on IE9 tests 2015-11-27 03:56:28 +09:00
Guillermo Rauch
8bedf60b32 Merge pull request #436 from nkzawa/patch-19
Set ngrok authtoken
2015-11-22 10:36:51 -08:00
nkzawa
643158dc42 Merge branch 'master' into patch-11 2015-11-22 19:41:01 +09:00
nkzawa
faa0913703 fix test failures on iOS 6.1 2015-11-22 16:39:28 +09:00
Luigi Pinca
874484cc1e transports: use yeast to generate the cache busting id 2015-09-12 08:28:15 +02:00
nkzawa
38df10d5f5 fix a test 2015-09-12 04:43:32 +09:00
Naoyuki Kanezawa
7b30291eab enable to run most tests on Node environment 2015-05-27 02:54:20 +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