[Pkg-javascript-commits] [sockjs-client] 201/434: #24 for all IE quirks - use feature detection to check if it supports streaming (during tests)

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:13 UTC 2014


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

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

commit 61ca77079a2d41e4fcaff7d3c4c6cc5b31fc3d45
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Fri Nov 18 15:53:07 2011 +0000

    #24 for all IE quirks - use feature detection to check if it supports streaming (during tests)
---
 tests/html/src/tests.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/html/src/tests.coffee b/tests/html/src/tests.coffee
index 3701e0b..23bfe80 100644
--- a/tests/html/src/tests.coffee
+++ b/tests/html/src/tests.coffee
@@ -406,7 +406,7 @@ chunking_test_factory = (counter) ->
         a = new Array(counter)
         go = ->
             SockJS.chunkingTest client_opts.url + '/echo', (r) ->
-                if $.browser.msie and $.browser.version < 8
+                if $.browser.msie and not window.XDomainRequest
                     # on browsers with no streaming support...
                     equal(r, false)
                 else

-- 
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