Skip to content

wasm docs should mention CSP requirement #330

Description

@paulmillr

wasm is disabled in browser extensions by default because of CSP. Other, security-concious consumers, may enable CSP per-domain, outside of web extensions, on simple web pages.

One needs specific wasm-unsafe-eval header to make it work.

see https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_Security_Policy

https://developer.chrome.com/docs/extensions/reference/manifest/content-security-policy

Where did you find it?

https://oxlib.sh/guides/engine

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: DocsArea: Documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions