Skip to content

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

@zcorpan

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions