AElfProject/aelf-web-extension

[Temporary Plan]aelf_sdk protobuf

Opened this issue · 0 comments

Uncaught (in promise) EvalError: 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' blob: filesystem: chrome-extension-resource:".

Because the lib: protobufjs use Function.

Temporary: "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"(manifest)