Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07ca7d40e32bb25bfc5ba2bc2e41870d0b20e5bc
      
https://github.com/WebKit/WebKit/commit/07ca7d40e32bb25bfc5ba2bc2e41870d0b20e5bc
  Author: Rob Buis <rb...@igalia.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/current-basic-expected.txt
    M Source/WebCore/page/Navigation.cpp
    M Source/WebCore/page/NavigationHistoryEntry.cpp
    M Source/WebCore/page/NavigationHistoryEntry.h

  Log Message:
  -----------
  [Navigation] Implement more of NavigationHistoryEntry
https://bugs.webkit.org/show_bug.cgi?id=268986

Reviewed by Alex Christensen.

Implement more of NavigationHistoryEntry according to the specification:
- implement index by looking the NavigationHistoryEntry up in the entries of 
the associated Navigation object.
- implement sameDocument by checking whether it is same document to the current 
history item.

* 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/current-basic-expected.txt:
* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::back):
(WebCore::Navigation::forward):
* Source/WebCore/page/NavigationHistoryEntry.cpp:
(WebCore::NavigationHistoryEntry::NavigationHistoryEntry):
(WebCore::NavigationHistoryEntry::index const):
(WebCore::NavigationHistoryEntry::sameDocument const):
* Source/WebCore/page/NavigationHistoryEntry.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to