8000 Navigation API: Assertion in finish navigate event will fail if handlers reject · Issue #11087 · whatwg/html · GitHub
[go: up one dir, main page]

Skip to content

Navigation API: Assertion in finish navigate event will fail if handlers reject #11087

@atscott

Description

@atscott

What is the issue with the HTML Standard?

In the inner navigate event firing algorithm, at the step of waiting for all of promisesList, in the event of a failure, the event's interception state will still be "intercepted". The steps in the rejection handler do not change the event state before calling the finish event given false steps and the first assertion will then fail (Assert: event's interception state is not "intercepted" or "finished".). Either the state needs to be updated before doing this or the assertion should be skipped when finishing the event given false.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0