Skip to content

Navigating to the same URL with a fragment needs to interact with session history #13437

Closed

Description

@jdm

Currently, ScriptThread::handle_navigate short-circuits if the pre-fragment URL is the same. It scrolls to the chosen fragment then returns without performing any actual load. This means that the session history in the constellation doesn't know anything about the navigation.

cc @ConnorGBrewster for suggestions

Activity

  1. added
    A-content/script
    A-constellation
    on Sep 26, 2016
  2. cbrewster commented on Sep 26, 2016

    @cbrewster
    Contributor

    The plan is to add a field to FrameState that would store info for this, although the actual data may be stored on the BrowsingContext. When navigating to a fragment it will add a new entry to the Frame without causing a new load.

  3. added 4 commits that reference this issue on Jul 20, 2018
    ce0014b
    f00e955
    91c8f26
    a97d8b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-constellationA-content/script

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions