Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8aeae6caf5398bb8369bc280e2acab4b8554c0af
      
https://github.com/WebKit/WebKit/commit/8aeae6caf5398bb8369bc280e2acab4b8554c0af
  Author: Youenn Fablet <[email protected]>
  Date:   2024-11-11 (Mon, 11 Nov 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https_client-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/redirected-response.https-expected.txt
    M Source/WebCore/workers/service/context/ServiceWorkerFetch.cpp

  Log Message:
  -----------
  Service Worker can't correctly redirect relative URLs
rdar://139498279
https://bugs.webkit.org/show_bug.cgi?id=282427

Reviewed by Per Arne Vollan.

Set the URL of the service worker response slightly before so that it is taken 
into account for redirections.
One of the WPT test is changing from PASS to FAIL, which aligns with Chrome and 
Firefox.
This WPT test should probably be fixed or removed upstream.

* 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/navigation-redirect.https_client-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/redirected-response.https-expected.txt:
* Source/WebCore/workers/service/context/ServiceWorkerFetch.cpp:
(WebCore::ServiceWorkerFetch::processResponse):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to