Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e9f2cf896959ec35ce49b0458b2b1bcfbd301e86
      
https://github.com/WebKit/WebKit/commit/e9f2cf896959ec35ce49b0458b2b1bcfbd301e86
  Author: Alex Christensen <[email protected]>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M Source/WebCore/loader/DocumentLoader.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/Loading.mm

  Log Message:
  -----------
  Failed speculative prefetches should not fail actual navigations
https://bugs.webkit.org/show_bug.cgi?id=325519
rdar://188119964

Reviewed by Abrar Rahman Protyasha.

Otherwise we get weird behavior, like websites asking to download
speculated loads.

Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/Loading.mm

* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::responseReceived):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/Loading.mm:
(TestWebKitAPI::TEST(WebKit, NavigateToInFlightPrefetchWithErrorResponse)):

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



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

Reply via email to