Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: d27a261ce47b25973d6f9f87e86d4d47edef1b25 https://github.com/WebKit/WebKit/commit/d27a261ce47b25973d6f9f87e86d4d47edef1b25 Author: Qianlang Chen <qianlangc...@apple.com> Date: 2025-03-17 (Mon, 17 Mar 2025)
Changed paths: M Source/WebKit/WebProcess/Inspector/ServiceWorkerDebuggableProxy.cpp Log Message: ----------- ServiceWorkerDebuggableProxy from Web.app may crash remote inspector rdar://146894895 https://bugs.webkit.org/show_bug.cgi?id=289829 Reviewed by Per Arne Vollan. Similar to a web page from a home screen web app, where the WebPageDebuggable needs to have a presentingApplicationPID linked so that RemoteInspectorCocoa can list the debuggable under the right app, the new ServiceWorkerDebuggableProxy should also do that, since it also resides in the UI proxy but controls an underlying ServiceWorkerThread. * Source/WebKit/WebProcess/Inspector/ServiceWorkerDebuggableProxy.cpp: (WebKit::ServiceWorkerDebuggableProxy::ServiceWorkerDebuggableProxy): - Record the presenting app's process ID to be passed along to the remote inspector. See RemoteInspector::listingForInspectionTarget, where the presentingApplicationPID is handled. Canonical link: https://commits.webkit.org/292273@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes