Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

rewriting html/js/css to support CSP #26

Merged
merged 1 commit into from
Mar 7, 2014
Merged

rewriting html/js/css to support CSP #26

merged 1 commit into from
Mar 7, 2014

Conversation

mozfreddyb
Copy link

moved inline style and js to different files. merged event handler and non-controller parts out of scanctrl.js to a main.js. added CSP in meta tag. but we have to allow eval/Function because of acorn.js :(

this fixes the first half of #24, for browsers not supporting the meta tag CSP (hint: Firefox, currently) we would still need to address hosting.

…d non-controller parts out of scanctrl.js to a main.js. added CSP in meta tag. but we have to allow eval/Function because of acorn.js :(
mozfreddyb added a commit that referenced this pull request Mar 7, 2014
rewriting html/js/css to support CSP
@mozfreddyb mozfreddyb merged commit d717170 into master Mar 7, 2014
@mozfreddyb
Copy link
Author

I tested that this doesn't break functionality, so I'll get this into the master branch right now.
Most future changes would be very hard to merge without this landing, as it relocates quite some files.

What I forgot to mention in the commit message: I removed report.html and report.js as they don't fulfill any functionality right now.

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

Successfully merging this pull request may close these issues.

2 participants