Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c947c1f3ca35596cfcb36fafd267f0d33caeabd
      
https://github.com/WebKit/WebKit/commit/4c947c1f3ca35596cfcb36fafd267f0d33caeabd
  Author: Youenn Fablet <[email protected]>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.h2-expected.txt
    M Source/WebCore/workers/service/context/ServiceWorkerFetch.cpp

  Log Message:
  -----------
  Do not allow network fallback in case of a disturbed fetch event request body
rdar://183125740
https://bugs.webkit.org/show_bug.cgi?id=320183

Reviewed by Alex Christensen.

If the fetch event request body is read, even partially, we can no longer 
provide the data to the network if data comes from a ReadableStream originally.
In that case, we fail the load.

Covered by rebased test.

* 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event.https.h2-expected.txt:
* Source/WebCore/workers/service/context/ServiceWorkerFetch.cpp:
(WebCore::ServiceWorkerFetch::dispatchFetchEvent):

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



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

Reply via email to