You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
both --web-security=falseand--local-to-remote-url-access=true are necessary to prevent a
XMLHttpRequest cannot load http://localhost:3333/demo/hello. Cross origin requests are not supported.
out of phantom.
it's possible to try it out with (do (reload-require) (run-doo-tests)) in a lein repl with the source linked above, toggling phantom opts between (do (reload-require) (run-doo-tests))ing in the repl.
i suppose an update might not be such a priority since other issues indicate that phantom is on the way out .. anyway, i wanted to get it documented here as an issue, even if the next update to the wiki includes chromium headless rather than phantom.
The text was updated successfully, but these errors were encountered:
i found it necessary to modify the End to end testing example from the wiki in order for phantom to make cors requests:
both
--web-security=false
and--local-to-remote-url-access=true
are necessary to prevent aout of phantom.
it's possible to try it out with
(do (reload-require) (run-doo-tests))
in alein repl
with the source linked above, toggling phantom opts between(do (reload-require) (run-doo-tests))
ing in the repl.i suppose an update might not be such a priority since other issues indicate that phantom is on the way out .. anyway, i wanted to get it documented here as an issue, even if the next update to the wiki includes chromium headless rather than phantom.
The text was updated successfully, but these errors were encountered: