Skip to content

Commit

Permalink
Forward availability notification from WebInspector daemon
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=273586
rdar://126946795

Reviewed by Ben Nham.

Forward availability notification from WebInspector daemon from the UI process to the WebContent processes.
The notification handler in the WebContent process will not be called unless we forward the notification.

* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::registerNotificationObservers):
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

Canonical link: https://commits.webkit.org/278235@main
  • Loading branch information
pvollan committed May 1, 2024
1 parent 6816298 commit 362c47a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1478,6 +1478,7 @@
"com.apple.powerlog.state_changed"
"com.apple.system.lowpowermode"
"com.apple.system.timezone"
"com.apple.webinspectord.available"
"com.apple.zoomwindow"
"org.WebKit.lowMemory"
"org.WebKit.lowMemory.begin"
Expand Down
1 change: 1 addition & 0 deletions Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ static void logProcessPoolState(const WebProcessPool& pool)
"com.apple.WebKit.showMemoryCache"_s,
"com.apple.WebKit.showPaintOrderTree"_s,
"com.apple.WebKit.showRenderTree"_s,
"com.apple.webinspectord.available"_s,
"com.apple.language.changed"_s,
"com.apple.mediaaccessibility.captionAppearanceSettingsChanged"_s,
"com.apple.powerlog.state_changed"_s,
Expand Down
1 change: 1 addition & 0 deletions Source/WebKit/WebProcess/com.apple.WebProcess.sb.in
Original file line number Diff line number Diff line change
Expand Up @@ -2056,6 +2056,7 @@
"org.WebKit.memoryWarning"
"org.WebKit.memoryWarning.begin"
"org.WebKit.memoryWarning.end"
"com.apple.webinspectord.available"
#endif
"com.apple.accessibility.AirPodsSpatialAudioLockToDeviceChanged"
"com.apple.webinspectord.availability_check"))
Expand Down

0 comments on commit 362c47a

Please sign in to comment.