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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -