[webkit-changes] [WebKit/WebKit] 8c6a0b: [iOS] WebKit XPC services are not always considere...

aestes noreply at github.com
Fri Jul 19 23:05:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c6a0b63833a0fd180e5e0b7b5f05fbb560244fa
      https://github.com/WebKit/WebKit/commit/8c6a0b63833a0fd180e5e0b7b5f05fbb560244fa
  Author: Andy Estes <aestes at apple.com>
  Date:   2024-07-19 (Fri, 19 Jul 2024)

  Changed paths:
    M Source/WebKit/GPUProcess/EntryPoint/Cocoa/XPCService/GPUService/Info-iOS.plist
    M Source/WebKit/ModelProcess/EntryPoint/Cocoa/XPCService/ModelService/Info-embedded.plist
    M Source/WebKit/NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkService/Info-iOS.plist
    M Source/WebKit/WebProcess/EntryPoint/Cocoa/XPCService/WebContentService/Info-iOS.plist

  Log Message:
  -----------
  [iOS] WebKit XPC services are not always considered managed by RunningBoard
https://bugs.webkit.org/show_bug.cgi?id=276834
rdar://132063557

Reviewed by Per Arne Vollan.

Whether or not RunningBoard manages an XPC service depends on the type of its host process. While
XPC services hosted by UI applications are managed by default, XPC services hosted by launchd
daemons are not managed even if the daemon itself is managed by RunningBoard and can show UI.
Some bugs are introduced when WebKit XPC services are not managed by RunningBoard, such as:
1. Some parts of iOS not considering the XPC service to be in the foreground even though it is
   running and has propagated visibility.
2. RunningBoard not suspending/freezing XPC services it does not manage.

Resolved this by opting WebKit XPC services into RunningBoard management on iOS using the same
Info.plist key we use on macOS.

* Source/WebKit/GPUProcess/EntryPoint/Cocoa/XPCService/GPUService/Info-iOS.plist:
* Source/WebKit/ModelProcess/EntryPoint/Cocoa/XPCService/ModelService/Info-embedded.plist:
* Source/WebKit/NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkService/Info-iOS.plist:
* Source/WebKit/WebProcess/EntryPoint/Cocoa/XPCService/WebContentService/Info-iOS.plist:

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



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


More information about the webkit-changes mailing list