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

Add a browsingContext.traverseHistory command #584

Merged
merged 2 commits into from
Nov 7, 2023
Merged

Commits on Oct 30, 2023

  1. Add a browsingContext.traverseHistory command

    This traverses the history by a specified `delta` (e.g. +1 for forward,
    or -1 for back).
    
    For now there is no `wait` parameter; the command always returns as
    soon as the hsitory traversal has been enqueued (this should
    eventually be equivalent to setting wait to `none`).
    
    This model differs somewhat from the CDP model where one navigates to
    an explicit history entry and failure is only possible if the entry id
    is invalid. But back/forwward only seems closer to the use cases we
    have, and allowing events to be traced to a specific traversal seems
    consistent with the way we handle other navigation-related events.
    jgraham committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    fccc0a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Update index.bs

    jgraham committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    e8fa74a View commit details
    Browse the repository at this point in the history