Skip to content

Form restoration interop #7292

@annevk

Description

@annevk

As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=654072 it might be good to have more alignment about what form restoration entails. Questions that came up:

  • Is disabled restorable state?
  • Should restoration happen on "soft" reload?
  • Should there be an event? It sounds like pageshow might be good enough for this, provided things are restored at that time. As noted in Clarify that form state restoration does not fire events #7283 it seems developers could also use formStateRestoreCallback for this, which makes it very observable when exactly this process takes place...

Further context: #6853 (comment).

cc @gijsk @whatwg/forms

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