Skip to content

Sharing service unavailable should reject with NotSupportedError #126

Closed
@marcoscaceres

Description

@marcoscaceres

With #113, the spec says:

If there are no share targets available:
   Reject [[sharePromise]] with an "AbortError" DOMException.

However, in the above, it's possible that there is no share service available at all (or the service may fail to be initiated). It's not really possible to know this beforehand if it will succeed. In such a case, it may be more suitable to reject with a "NotSupportedError".

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