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

[Navigation] Make NavigationHistoryEntry getters check for fully active document #28390

Conversation

rwlbuis
Copy link
Contributor

@rwlbuis rwlbuis commented May 10, 2024

9142a5f

[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

f5f57a7

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-wpe
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ§ͺ mac-wk1 βœ… πŸ›  wpe-skia
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 loading πŸ›  gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2 βœ… πŸ§ͺ gtk-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2-stress βœ… πŸ§ͺ api-gtk
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@rwlbuis rwlbuis requested a review from cdumez as a code owner May 10, 2024 16:01
@rwlbuis rwlbuis self-assigned this May 10, 2024
@rwlbuis rwlbuis added the WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore). label May 10, 2024
@rwlbuis rwlbuis requested review from TingPing and removed request for cdumez May 10, 2024 18:07
Copy link
Contributor

@TingPing TingPing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rwlbuis rwlbuis added the merge-queue Applied to send a pull request to merge-queue label May 14, 2024
…ve 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
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Navigation-Make-NavigationHistoryEntry-getters-check-for-fully-active-document branch from f5f57a7 to 9142a5f Compare May 14, 2024 17:39
@webkit-commit-queue
Copy link
Collaborator

Committed 278770@main (9142a5f): https://commits.webkit.org/278770@main

Reviewed commits have been landed. Closing PR #28390 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 9142a5f into WebKit:main May 14, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label May 14, 2024
@rwlbuis rwlbuis deleted the eng/Navigation-Make-NavigationHistoryEntry-getters-check-for-fully-active-document branch May 14, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore).
Projects
None yet
5 participants