Skip to content

Return value of #checking-if-unloading-is-canceled isn't correctly used. #11357

@farre

Description

@farre
Contributor

What is the issue with the HTML Standard?

#checking-if-unloading-is-canceled returns "canceled-by-beforeunload", "canceled-by-navigate", or "continue", but #definitely-close-a-top-level-traversable and #navigate checks if it returns true. It should check if it returns "continue" like #apply-the-history-step does.

Activity

farre

farre commented on Jun 5, 2025

@farre
ContributorAuthor
self-assigned this
on Jun 6, 2025
added a commit that references this issue on Jun 6, 2025
1849b92
added a commit that references this issue on Jun 9, 2025
4467ddf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @domenic@farre

    Issue actions

      Return value of #checking-if-unloading-is-canceled isn't correctly used. · Issue #11357 · whatwg/html