Skip to content

SecurityError vs NotAllowedError for "allowed to use" check #1071

Description

@zcorpan

If this's relevant global object's associated Document is not allowed to use the "payment" permission, then throw a "SecurityError" DOMException.

Should this not throw an "NotAllowedError" exception instead?

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