Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History State API #15261

Closed
wants to merge 7 commits into from
Closed

History State API #15261

wants to merge 7 commits into from

Commits on Feb 16, 2017

  1. Link frame entries together that share pipelines

    Various frame-related cleanup
    cbrewster committed Feb 16, 2017
  2. Add constellation frame unit tests

    cbrewster committed Feb 16, 2017

Commits on Feb 17, 2017

  1. Implement history states and hash changes.

    This change implements handling history state entries and hash change
    history entries. The constellation is in charge of managing session
    history and traversals. The History object is in charge of updating all
    state on the script/dom side of things.
    
    The resource thread stores the serialized history state data. This data
    must be stored outside the script thread as the script thread may be
    shut down if its document is purged during history pruning. Storing the
    state data allows for retrieval of the state data at a later time even
    if the document had to be recreated.
    
    Each state is tracked using a state ID which is a UUID.
    
    Traversal tasks are now queued on the history traversal task source. The
    runnable waits synchronously on the constellation to finish handling the
    traversal. This allows for tests to use setTimeout to wait for a
    traversal to be handled before the callback has a chance of being
    called.
    cbrewster committed Feb 17, 2017
  2. Update test expectations

    update test expectations
    cbrewster committed Feb 17, 2017
  3. Add frame state id unit test

    cbrewster committed Feb 17, 2017
You can’t perform that action at this time.