Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(client): Add trusted types support #3360

Merged
merged 1 commit into from
Sep 9, 2019
Merged

feat(client): Add trusted types support #3360

merged 1 commit into from
Sep 9, 2019

Commits on Sep 3, 2019

  1. feat(client): Add trusted types support

    With this change, Karma tests can be run with an enforced Trusted Types policy.
    
    This change consists of using safer APIs (appendChild and textContent instead of innerHTML), as well as creating a policy for client/karma.js which a test's Trusted Types CSP policy can then explicitly allow. This policy is used internally where karma does potentially dangerous operations like loading scripts.
    
    More info about the proposed Trusted Types standard at https://github.com/WICG/trusted-types
    rictic committed Sep 3, 2019
    Configuration menu
    Copy the full SHA
    95f953c View commit details
    Browse the repository at this point in the history