Skip to content

Tainted form example appears to break the browser history stack #658

@fnimick

Description

@fnimick

I have confirmed this behavior in desktop Firefox and Chrome. I'm not sure whether this is a problem with this specific example, or tainted form handling more broadly, but I have looked at the example and can see no special case behavior causing this.

To reproduce:

Navigate to the tainted form field example page, then to another page, then back.

Observe the state of the history stack. In my case:
Back stack:

Image

Forward stack:

Image

Then, attempt to navigate back from the tainted form, and click "confirm" on the modal.

Observe that rather than navigating back, instead the most recent history page has been navigated forward to, adding a new entry to the back stack. The forward stack has been cleared and is now empty.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions