Skip to content

[css-view-transitions-2] Don't trigger capture if the navigation doesn't result in Document change #8782

@khushalsagar

Description

@khushalsagar

A navigation could end with no change in the Document associated with the committed navigation entry, for example fragment navigations or a 204 response. We shouldn't be doing a transition in this case, preferably even capturing of the current Document is not initiated.

This implies that we need to wait until we've received a server response which ensures the navigation will be cross-document before capturing the current Document. This means the current Document has to do at least one render before it is unloaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions