Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a53929d85a19d356f2d0c0b40a13e84165db281
      
https://github.com/WebKit/WebKit/commit/5a53929d85a19d356f2d0c0b40a13e84165db281
  Author: Rob Buis <rb...@igalia.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/currententrychange-event/navigate-from-initial-about-blank-same-doc-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/currententrychange-event/navigate-from-initial-about-blank-same-doc-popup-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/updateCurrentEntry-method/exception-order-initial-about-blank-unserializablestate-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/updateCurrentEntry-method/initial-about-blank-expected.txt
    M Source/WebCore/loader/DocumentLoader.cpp
    M Source/WebCore/loader/DocumentLoader.h
    M Source/WebCore/page/Navigation.cpp

  Log Message:
  -----------
  [Navigation] Support "initial about:blank document" logic
https://bugs.webkit.org/show_bug.cgi?id=274393

Reviewed by Darin Adler.

Keep track of the "initial about:blank document" flag and check it in
the "has entries and events disabled" algorithm.

[1] 
https://html.spec.whatwg.org/multipage/nav-history-apis.html#has-entries-and-events-disabled
 (Step 3)

* 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/currententrychange-event/navigate-from-initial-about-blank-same-doc-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/currententrychange-event/navigate-from-initial-about-blank-same-doc-popup-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/updateCurrentEntry-method/exception-order-initial-about-blank-unserializablestate-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/navigation-api/updateCurrentEntry-method/initial-about-blank-expected.txt:
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::maybeLoadEmpty):
* Source/WebCore/loader/DocumentLoader.h:
(WebCore::DocumentLoader::isInitialAboutBlank const):
* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::hasEntriesAndEventsDisabled const):

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