Permalink
Commits on Sep 7, 2011
  1. Release 0.0.4

    majek committed Sep 7, 2011
  2. cosmetic

    majek committed Sep 7, 2011
  3. Share options with the chunking test - for example 'devel' option aff…

    …ects iframe url (in opera).
    majek committed Sep 7, 2011
Commits on Sep 6, 2011
  1. No need to run some tests twice.

    majek committed Sep 6, 2011
  2. Check if coffee is installed before running command. Prevents produci…

    …ng empty files when node isn't there.
    majek committed Sep 6, 2011
  3. Wrong url tests take a long time and tend to break. Move them to the …

    …back, so they should be run in the end.
    majek committed Sep 6, 2011
  4. In tests we use sockjs.chunkingTest with raw url, which may be empty …

    …string or slash. Normalize it before using.
    majek committed Sep 6, 2011
Commits on Sep 5, 2011
  1. Tests for chunking detection.

    majek committed Sep 5, 2011
  2. Example/smoke tests revamped.

    majek committed Sep 5, 2011
  3. In opera (where xhr doesn't do cors), correctly pass errors back from…

    … chunking detection (close events).
    majek committed Sep 5, 2011
  4. chunking detection needs to be within the loop. Maybe the whole loop …

    …should be made as a recursion some day.
    majek committed Sep 5, 2011
  5. Chunking test shall work on opera.

    Although opera chunking handling in xhr is, quite bad - we can't do xhr-streaming, we can indeed use it for chunking detection. Opera limitation is that it runs onreadystate=3 event exactly once. This is enough for chunking detecion.
    
    If we get readystate == 3, and the contents suggest that we haven't received full response - clearly chunking works.
    majek committed Sep 5, 2011
  6. Test a long utf message - to find if server is able to merge multiple…

    … packets without breaking utf.
    majek committed Sep 5, 2011
Commits on Sep 1, 2011
  1. Enable chunking-detection for streaming protocols (with the exception…

    … of websockets).
    
    It's possible that some users will be behind a broken proxy that doesn't allow chunking protocols. Instead of handling this problem in every streaming protocol manually (like previously we did for xhr-polling/streaming), we will run a single test that ought to detect if chunking works at all. The underlying assumption is that if chunking works for XHR protocol, it is likely that it will work for htmlfile and eventsource.
    majek committed Sep 1, 2011
  2. Messages exchanged between main window and an iframe must be tagged w…

    …ith window_id - in order to identify a proper iframe.
    
    Due to Opera bug, it's impossible to check where did the event (onmessage) came from - "event.source === iframe...window" fails.
    As a result, if there are more iframes open the communication gets completely messed up. To avoid that, we need to be able to identify a particular iframe from main window. The problem is how to share a handle with an iframe - it's on a foreign domain. For that we use an old hack - we push the handle as uri fragment (#hash). That way, the iframe.html document may still be cached and the iframe can be properly identified on both sides.
    majek committed Sep 1, 2011
  3. Cosmetic.

    majek committed Sep 1, 2011
Commits on Aug 25, 2011
  1. Unified all XHR/XDR transports.

    majek committed Aug 25, 2011
  2. New transport: xhr-streaming, it will duplicate functionality of xhr-…

    …polling for a moment.
    majek committed Aug 25, 2011