Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Update CSP feature detect to latest API (document.securityPolicy) #1577

Closed
@ebidel

Description

@ebidel

http://trac.webkit.org/changeset/133620 renamed the DOM API:

document.SecurityPolicy -> document.securityPolicy

This has alreay landed in Chrome Canary.

Reference: https://github.com/angular/angular.js/blob/master/src/ng/sniffer.js#L44

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions