Skip to content

Do not expose API in non-secure context #13

@dlongley

Description

@dlongley

Since CHAPI is not meant to be available in a non-secure context, the polyfill should not install on non-HTTPS sites. Currently, the browser will eventually block its functionality but it should be blocked immediately and throw a SecurityError error if a developer tries to use it on a non-secure site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority 2Important but not critical

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions