http - How can I disable same origin check in jsdom? -


how can disable same origin check in jsdom? using jsdom tests (written in scala.js).

edit:

this might relevant link : https://github.com/scala-js/scala-js-env-jsdom-nodejs/blob/master/jsdom-nodejs-env/src/main/scala/org/scalajs/jsenv/jsdomnodejs/jsdomnodejsenv.scala

perhaps need use environment scala.js because unit tests not loaded server need somehow tell jsdom server (the origin) is. perhaps solve issue same origin policy.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -