Skip to content

Consider using pre-compiled JSON schema validator #239

Description

@chrahunt

Some of the complexity from our use of AJV (sandboxed page (html, js), proxy object) come because it uses the Function constructor. Since the background page has a CSP that does not include unsafe-eval, this is blocked by default.

I am pretty sure this was ruled out previously, but just in case there's been some update, consider the options mentioned in ajv-validator/ajv#406.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions