[Pkg-javascript-commits] [sockjs-client] 217/350: No browser supports Comet/HTTP streaming and not CORS

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.

commit eaadbfeae5a401f1c184a94404d237d88ac58201
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Tue Oct 21 17:17:04 2014 -0400

    No browser supports Comet/HTTP streaming and not CORS
---
 lib/transport/xhr-streaming.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/transport/xhr-streaming.js b/lib/transport/xhr-streaming.js
index 678cb72..4c3b54b 100644
--- a/lib/transport/xhr-streaming.js
+++ b/lib/transport/xhr-streaming.js
@@ -27,9 +27,6 @@ XhrStreamingTransport.enabled = function(info) {
     return false;
   }
 
-  if (XHRLocalObject.enabled && info.sameOrigin) {
-    return true;
-  }
   return XHRCorsObject.enabled;
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list