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

Refused to evaluate a string as JavaScript because 'unsafe-eval' for Chrome Packaged App #939

Closed
jnicolau opened this issue Nov 18, 2014 · 1 comment
Labels

Comments

@jnicolau
Copy link

Hi,

I've been getting an error that was described in this ticket that was closed:
#252

It should have been fixed since Jul 7.

I'm running polymer 4.2 on Chrome 38.0.2125.122 (MacOS) with vulcanize.
vulcanize --csp --strip index.html

Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".
polymer.concat.js:4170

Looks like the error begins here:
var f = new Function('', 'return true;');

@tjsavage tjsavage added the 0.5 label May 21, 2015
@tjsavage
Copy link
Contributor

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.

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

No branches or pull requests

2 participants