[webkit-changes] [WebKit/WebKit] 9142a5: [Navigation] Make NavigationHistoryEntry getters c...

Rob Buis noreply at github.com
Tue May 14 10:39:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9142a5f4e9ee7abc53ce1c77e2979f0065b46e1d
      https://github.com/WebKit/WebKit/commit/9142a5f4e9ee7abc53ce1c77e2979f0065b46e1d
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-05-14 (Tue, 14 May 2024)

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

  Log Message:
  -----------
  [Navigation] Make NavigationHistoryEntry getters check for fully active document
https://bugs.webkit.org/show_bug.cgi?id=274000

Reviewed by Alex Christensen.

Make NavigationHistoryEntry getters check for fully active document [see 1, 2 etc.].

[1] https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-url
[2] https://html.spec.whatwg.org/multipage/nav-history-apis.html#concept-navigationhistoryentry-key

* LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entry-after-detach-expected.txt:
* Source/WebCore/page/NavigationHistoryEntry.cpp:
(WebCore::NavigationHistoryEntry::url const):
(WebCore::NavigationHistoryEntry::key const):
(WebCore::NavigationHistoryEntry::id const):
(WebCore::NavigationHistoryEntry::index const):
(WebCore::NavigationHistoryEntry::sameDocument const):
(WebCore::NavigationHistoryEntry::getState const):
* Source/WebCore/page/NavigationHistoryEntry.h:

Canonical link: https://commits.webkit.org/278770@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