jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.13k stars 269 forks source link

Problems on saucelabs #31

Closed odino closed 10 years ago

odino commented 10 years ago

Hey @jpillora,

just as a warning / memo: we are trying to run our automated tests on saucelabs but it seems that xdomain makes them fail. No logs, the browser hangs. Removing xdomain solved the issue.

Do you have any hint / advice?

(@adamquadmon can provide more insights!)

jpillora commented 10 years ago

Could you put up a live demo somewhere?

On Tuesday, January 7, 2014, Alessandro Nadalin wrote:

Hey @jpillora https://github.com/jpillora,

just as a warning / memo: we are trying to run our automated tests on saucelabs but it seems that xdomain makes them fail. No logs, the browser hangs. Removing xdomain solved the issue.

Do you have any hint / advice?

(@adamquadmon https://github.com/adamquadmon can provide more insights!)

— Reply to this email directly or view it on GitHubhttps://github.com/jpillora/xdomain/issues/31 .

odino commented 10 years ago

One of the apps is our mobile website (see namshi.com) On Jan 7, 2014 4:46 PM, "Jaime Pillora" notifications@github.com wrote:

Could you put up a live demo somewhere?

On Tuesday, January 7, 2014, Alessandro Nadalin wrote:

Hey @jpillora https://github.com/jpillora,

just as a warning / memo: we are trying to run our automated tests on saucelabs but it seems that xdomain makes them fail. No logs, the browser hangs. Removing xdomain solved the issue.

Do you have any hint / advice?

(@adamquadmon https://github.com/adamquadmon can provide more insights!)

— Reply to this email directly or view it on GitHub< https://github.com/jpillora/xdomain/issues/31> .

— Reply to this email directly or view it on GitHubhttps://github.com/jpillora/xdomain/issues/31#issuecomment-31734397 .

jpillora commented 10 years ago

I just released 0.6, upgrade to that and let me know how it goes. If it's still not working, you can now enable debugging xdomain.debug = true and paste what you see back here

odino commented 10 years ago

thanks for the hustle @jpillora

jpillora commented 10 years ago

no worries @odino did this fix it? note, you can also add a debug="true" attribute scripts if thats easier

jpillora commented 10 years ago

Please reopen if needed