Skip to content

Distinguishing between data errors and user abort  #112

@marcoscaceres

Description

@marcoscaceres

The spec says:

Activate the chosen share target, convert data to a format suitable for ingestion into the target, and transmit the converted data to the target. If an error occurs starting the target or transmitting the data, reject p with an "AbortError" DOMException, and abort these steps.

We probably want a DataError error here, so a developer knows that it's not the user aborting, but something wrong with the data they are trying to pass.

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