Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 36a507b11f956b34bdaccd7785a4c484f90befe5
      
https://github.com/WebKit/WebKit/commit/36a507b11f956b34bdaccd7785a4c484f90befe5
  Author: J Pascoe <j_pas...@apple.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentFiltering.mm

  Log Message:
  -----------
  Do not clear content filter when loading after serviceWorkerDidNotHandle
https://bugs.webkit.org/show_bug.cgi?id=257569
rdar://109619110

Reviewed by Youenn Fablet.

The content filter is cleared after serviceWorkerDidNotHandle is called, but 
another
request can be made using the same NetworkResourceLoader, without a content 
filter.

This patch fixes that by not clearing the filter.

* Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::serviceWorkerDidNotHandle):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentFiltering.mm:
(TEST):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to