Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSS & BREPL #154

Closed
xcthulhu opened this issue Jun 2, 2014 · 6 comments
Closed

XSS & BREPL #154

xcthulhu opened this issue Jun 2, 2014 · 6 comments

Comments

@xcthulhu
Copy link

xcthulhu commented Jun 2, 2014

I was banging my head trying to understand why I couldn't get the BREPL to work, when I finally tried in Safari (on OS X) and got XSS errors.

Can anyone else reproduce or corroborate this?

Anyhow, disabling XSS in a browser does the trick:
http://stackoverflow.com/a/23986416/586893

Should this be mentioned in Tutorial 2?

@magomimmo
Copy link
Owner

Hi Matthew, thanks for your trouble shootings. I'm not using lein trampoline cljsbuild repl-listen anymore Thanks to @cemerick. That said I'm supposing that something changed in the browsers security policies (or implementation) in the mean time and has to do with communication between the js engine and the brepl.

Obviously there are a lot of things that changed in the clojure/clojurescript ecosystem in the latest few months.

I should review all the tutorials and update everything to the latest stuff. This is an hard work and now I do not have the time and the energy to afford it. But I will do, soon or later.

I only tested the tutorial-05 on my machine and it still works until the validate-form sample. After that I did not test it. where does it break your brepling?

my best
mimmo

@cemerick
Copy link

cemerick commented Jun 4, 2014

@xcthulhu It is possible for browser extensions/addons to break the browser REPL, see e.g. cemerick/austin#17.

@magomimmo
Copy link
Owner

@cemerick thanks!!! I'll add a note somewhere in the series....

@xcthulhu
Copy link
Author

xcthulhu commented Jun 4, 2014

@cemerick Now that turn off all my extensions, I can confirm this.

@magomimmo brepl breaks on tutorial 3... austin doesn't work either unless I turn off my extensions (I suspect some privacy extension is the culprit)

@magomimmo
Copy link
Owner

I'll add a note in the tutorial about that.
Thanks so much for your efforts and to @cemerick for his diagnosis.

@magomimmo
Copy link
Owner

the first edition of the modern-cljs series is no more active/supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants