-
Notifications
You must be signed in to change notification settings - Fork 64
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
Doesn't work in Chrome Apps #37
Comments
Right! Good that you found it! I think the problem is with the following code: https://github.com/indutny/asn1.js/blob/master/lib/asn1/api.js#L20-L22 It doesn't have any other use than the better error stack traces. Guess, it could be polyfill'ed for the browser by just using proper function. I wonder if you might be interested in helping me with this! I would really appreciate it! |
I'm sorry, I don't understand. |
@alex7kom thanks for taking a look! I meant replacing it with anonymous function, sorry for the confusion! |
I thought that without that named function the method doesn't seem to make any sense, so I removed it. |
vm-browserify
useseval
which is disabled in Chrome Apps (completely) and Extensions (by default CSP), therefore browserifiedasn1.js
doesn't work.https://developer.chrome.com/extensions/sandboxingEval
https://developer.chrome.com/apps/contentSecurityPolicy
The text was updated successfully, but these errors were encountered: