Skip to content

lock() steps refer to the wrong promise when rejecting with AbortError #71

Open
@jespertheend

Description

@jespertheend

The lock() steps currently state that

Reject the p with an "AbortError" DOMException.

But in this case p refers to the promise of the current call, not the previous pending lock.
Shouldn't it be something like this?:

Reject the promise of the pending lock with an "AbortError" DOMException.

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