theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 310 forks source link

Using built in AMD Loader in certain situations causes issues in Chrome #573

Closed kitsonk closed 4 years ago

kitsonk commented 8 years ago

From @rodneyrehm on dojo/dojo2#15:

The line (<any> node).crossOrigin = 'anonymous'; makes Google Chrome request the resource without any cookies, thus killing my session.

I observed this when opening intern/client.html in a browser, while served from a server that requires authentication (session cookie). All resources are loaded from the same origin, so the forced CORS request imho makes no sense. Shouldn't this only be activated in case we're actually loading something from a different origin?

jason0x43 commented 4 years ago

Closing this due to inactivity