Hi smithpr,

Thanks for the analysis, you're right.
That check is there because if you try to load an application from "file:" then use a XS XHR asking the withCredentials flag set to true (that's the flag that permits the cookies to get through) the request will reach the server but the client won't be able to read the answer.

Clearly I didn't take into account web workers, sorry. I'm going to patch the lib now: please send an email to support@lightstreamer.com and I'll send a link to the officially patched library as soon as it is available (later today).