[webkit-changes] [WebKit/WebKit] 5592c3: [Navigation] Implement NavigationAPIMethodTracker

Patrick noreply at github.com
Wed Feb 28 08:14:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5592c3df7e5002c0018419e8b8694341206ba7ad
      https://github.com/WebKit/WebKit/commit/5592c3df7e5002c0018419e8b8694341206ba7ad
  Author: Patrick Griffis <pgriffis at igalia.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M Source/WebCore/page/Navigation.cpp
    M Source/WebCore/page/Navigation.h

  Log Message:
  -----------
  [Navigation] Implement NavigationAPIMethodTracker
https://bugs.webkit.org/show_bug.cgi?id=269930

Reviewed by Alex Christensen.

This creates a NavigationAPIMethodTracker struct per:
https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-api-method-tracker

As well as the maybeSetUpcomingNonTraversalTracker() method per:
https://html.spec.whatwg.org/multipage/nav-history-apis.html#maybe-set-the-upcoming-non-traverse-api-method-tracker

* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::serializeState):
(WebCore::Navigation::maybeSetUpcomingNonTraversalTracker):
(WebCore::Navigation::reload):
(WebCore::Navigation::navigate):
* Source/WebCore/page/Navigation.h:
(WebCore::NavigationAPIMethodTracker::create):
(WebCore::NavigationAPIMethodTracker::NavigationAPIMethodTracker):

Canonical link: https://commits.webkit.org/275446@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list