适用于blob的Chrome 45 CSP child-src

时间:2015-09-03 16:33:36

标签: javascript google-chrome web-worker content-security-policy

我更新到Chrome 45.0.2454.85(64位),我的blob的child-src政策不再有效。

错误:

Refused to create a child context containing 'blob:http%3A//localhost%3A3000/80ec57ff-e6ae-4591-8526-6c9f0c412b51' because it violates the following Content Security Policy directive: "child-src 'self' http://localhost:3000 blob:http://localhost:3000 blob:http://localhost 'blob://localhost:3000'".

正如您所看到的,我尝试了一些不同的政策。

我需要添加什么child-src策略才能在localhost:3000上运行javascript blob?

1 个答案:

答案 0 :(得分:2)