Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70a33eef4cbbcb86adbff80586a9c5b71c4631ae
      
https://github.com/WebKit/WebKit/commit/70a33eef4cbbcb86adbff80586a9c5b71c4631ae
  Author: Sihui Liu <[email protected]>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
    M Source/WebKit/UIProcess/WebProcessPool.cpp

  Log Message:
  -----------
  Avoid duplicate NetworkProcess messages from UI process
https://bugs.webkit.org/show_bug.cgi?id=272805
rdar://126604288

Reviewed by Chris Dumez.

These messages are currently sent to each WebsiteDataStore's network process. 
On Cocoa platforms, there is only one
network process shared by all WebsiteDataStores, so the same messages is sent 
to that process multiple times. To avoid
this, make UI process send message to each network process instead.

* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::updateProcessSuppressionState):
* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::WebProcessPool::registerURLSchemeAsSecure):
(WebKit::WebProcessPool::registerURLSchemeAsBypassingContentSecurityPolicy):
(WebKit::WebProcessPool::registerURLSchemeAsLocal):
(WebKit::WebProcessPool::registerURLSchemeAsNoAccess):
(WebKit::WebProcessPool::setCacheModel):
(WebKit::WebProcessPool::setCacheModelSynchronouslyForTesting):

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