vm-browserify
vm-browserify copied to clipboard
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”).
Error thrown in Firefox 65.0.1 but not chrome.
https://github.com/browserify/vm-browserify/blob/master/index.js#L110
Still happens on Firefox 69.0.1
you probably need to set some content security policy header to allow evals. i don't think this package can control that in any way.
Not the package's fault, but probably should include some warning that this is expected.