1

我更新到Chrome 45.0.2454.85(64位),並且我的用於blob的child-src策略不再有效。Chrome 45 CSP child-src for blob

錯誤:

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'".

正如你可以看到我已經嘗試了一些不同的政策。

的孩子叫什麼-src的政策,我需要補充,所以我可以在localhost上運行javascript blobs:3000?

+0

你在哪裏添加這些政策? –

回答