Skip to content

Tighten the availablity algorithm prose #198

Description

@padenot

From @Pehrsons, reviewing the Gecko implementation:

Spec seems off here.
First it says:

Run the availability algorithm with options and promise. If it returns an exception, throw it and abort these steps.

However, the availability algorithm only throws errors:

If the current settings object’s relevant global object’s associated Document is NOT fully active, throw an InvalidStateError and abort these steps.
On top of that everything is done in serial. Seems odd to return a promise then. I assume the availability algorithm is missing an in parallel somewhere.

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