Commit Graph

526 Commits

Author SHA1 Message Date
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
9071790401 remove try-catch for utf8 decode errors 2014-06-30 08:44:44 +09:00
Tony Kovanen
42b1773713 style and close socket after assert 2014-06-23 19:48:09 +03:00
Tony Kovanen
2aa5c22823 Change constructor check to throw and try-catch 2014-06-23 19:32:35 +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
Guillermo Rauch
51a7c418ed transport: catch utf8 decode errors 2014-06-19 14:07:32 -07:00
Guillermo Rauch
09c83a215d smaller inherits utility 2014-06-08 14:42:44 -07:00
Reid Burke
4b40963f27 Upgrade component-emitter to 1.1.2, fix #305
Switch from depending on a tarball URL to the published
component-emitter package at its latest version.

Change all references to emitter module to the new
component-emitter name.
2014-06-04 14:52:42 -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
Guillermo Rauch
f2a7d36785 Merge pull request #299 from nkzawa/patch-2
Remove Socket#onopen
2014-05-13 15:07:41 -07:00
Shankar Karuppiah
049b290425 Fixed jsonp transport getting close due parser error, when escaped new line sent over the socket 2014-05-13 09:48:19 +03:00
Naoyuki Kanezawa
6def3f56ee remove Socket#onopen 2014-05-02 15:18:33 +09:00
Guillermo Rauch
118073f2f2 Merge pull request #294 from rase-/fixerrors
Error handling fixes
2014-04-17 17:26:37 -07:00
Tony Kovanen
c12f44b5bd Renamed removeAllListeners to cleanup 2014-04-18 01:25:08 +03:00
Tony Kovanen
c67afb549e Not emitting an upgrade error when upgrading was in fact successful 2014-04-18 01:17:35 +03:00
Tony Kovanen
e1ef7fc04d Added a debug line to websocket.js for reporting cases where the socket is closed before onclose is fired 2014-04-18 01:05:37 +03:00
GK
7f3fae0d3b use inherits package instead of inherit 2014-04-17 18:04:56 -04:00
Tony Kovanen
f7e7658bac Fixed bad indent 2014-04-18 01:02:50 +03:00
GK
6329f81b9d removed all references to util.js 2014-04-17 15:33:36 -04:00
GK
e0e7db69dd fix if statement in FlashWS.ready method 2014-04-16 13:14:16 -04:00
GK
844306c68d pass values directly in FlashWS.ready method 2014-04-16 11:34:25 -04:00
GK
ca9ae9cb78 merged with master 2014-04-16 11:12:32 -04:00
GK
dc65d13b76 removed unnecessary UA detection 2014-04-16 11:09:34 -04:00
binlain
d3d086699e Forgot to register close listener 2014-04-15 17:43:41 +02:00
binlain
ba3592b198 Handle error on send 2014-04-15 17:41:19 +02:00
binlain
7f00e951d0 Clean up probing and handle premature transport disconnect 2014-04-15 17:39:17 +02:00
Guillermo Rauch
961f33cb77 Merge pull request #288 from lpinca/fix/polling-jsonp-cleanup
polling-jsonp: prevent spurious errors from being emitted when the window is unloaded
2014-04-13 11:06:33 -07:00
Luigi Pinca
3fcc9fb438 polling-jsonp: prevent spurious errors from being emitted when the window is unloaded 2014-04-13 10:47:58 +02:00
Guillermo Rauch
3f9f9028cc Merge pull request #285 from lpinca/fix/comment
polling-xhr: fix a comment and remove unneeded `document` reference
2014-04-12 11:40:44 -07:00
Luigi Pinca
a3f840504f polling-xhr: fix a comment and remove unneeded document reference 2014-04-12 15:42:08 +02:00
GK
1a43bc9346 enforce cache busting 2014-04-11 21:43:11 -04:00
GK
f3d9f2bcfb remove util.js 2014-04-11 20:15:20 -04:00
GK
5a3d15581f Merge branch 'master' into removingutil 2014-04-11 20:11:26 -04:00
GK
8fc0f34e35 put UA detection inline where used, remove util.js 2014-04-11 20:08:48 -04:00
GK
5d3ec15c95 remove on, load, replace keys and inherits with modules 2014-04-11 19:45:46 -04:00
Guillermo Rauch
d527099265 dropping illusory websocket parity 2014-04-11 09:33:14 -07: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
Guillermo Rauch
076b3e4b84 Merge pull request #284 from rase-/fix/tests
Fix double firing of close event when explicitly closing a socket
2014-04-11 08:50:50 -07:00
Tony Kovanen
aad85cb2bd JSONP and test fixes for fails in IE 2014-04-11 15:39:14 +03:00
Guillermo Rauch
8ac2dbdc89 polling-xhr: fix by @3rd-eden 2014-04-10 15:41:40 -07:00
GK
c21b291936 change qs and qsParse methods to encode and decode 2014-04-10 18:23:10 -04:00
Tony Kovanen
382b15c71e Fix double firing of close event when explicitly closing a socket 2014-04-11 01:06:41 +03:00
Guillermo Rauch
18ae1adec6 Merge pull request #273 from lpinca/fix/polling-timestamp
polling: ensure that the timestamp used for cache busting is unique
2014-04-10 15:04:53 -07:00
Guillermo Rauch
51d5ba0165 Merge pull request #283 from lpinca/fix/polling-xhr-cleanup
polling-xhr: abort the request when the window is unloaded
2014-04-10 15:01:21 -07:00
Luigi Pinca
9ea0abc316 polling-xhr: abort the request when the window is unloaded 2014-04-06 15:03:34 +02:00