Skip to content

Ensure correct tab can be identified following discard #4

Open
@spanicker

Description

@spanicker

Let's say there are two tabs (tab1 and tab2) from an origin with identical URL, say foo.com.
They are both in the background and are both discarded.
Now the user revisits tab2 -- Document will surface "wasDiscarded" to allow restoring state that might have been saved in prior onfreeze or pagevisibility event.
However the app should be able to know that it needs to restore state for tab2 as opposed to tab1.

Could the app use sessionStorage to reliably record session instance?
@inexorabletash
@toddreifsteck

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions