Bug 211120

Summary: Delay SystemStatus call from process launch to when being useful
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, eric.carlson, ews-watchlist, ggaren, glenn, hta, jer.noble, nham, philipj, pvollan, sergio, tommyw, youennf
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

youenn fablet
Reported 2020-04-28 04:55:17 PDT
Delay SystemAttribution call from process launch to when being useful
Attachments
Patch (21.24 KB, patch)
2020-04-28 05:26 PDT, youenn fablet
no flags
Patch (22.65 KB, patch)
2020-04-28 05:28 PDT, youenn fablet
no flags
Patch (26.31 KB, patch)
2020-04-28 07:48 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2020-04-28 05:26:41 PDT
youenn fablet
Comment 2 2020-04-28 05:28:15 PDT
Geoffrey Garen
Comment 3 2020-04-28 06:56:08 PDT
Comment on attachment 397831 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397831&action=review > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:178 > + (allow mach-lookup (global-name "com.apple.systemstatus.activityattribution")) Sorry, I should have realized this earlier — I don’t think we can take this approach. Since we’re no loner calling the status function on startup, this patch has to include an unsafe privileged service in the sandbox. That’s a pretty serious sandbox regression relative to all the work we’ve done lately. I don’t think that’s ok. I guess we need to talk to the systemstatus and integration folks to find some way forward that allows strong linking. 😞
youenn fablet
Comment 4 2020-04-28 07:48:57 PDT
Eric Carlson
Comment 5 2020-04-28 09:24:33 PDT
Comment on attachment 397836 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397836&action=review > Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp:41 > +#include "PlatformMediaSessionManager.h" Nit: is this necessary? > Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp:39 > +#include "PlatformMediaSessionManager.h" Ditto
youenn fablet
Comment 6 2020-04-29 06:35:17 PDT
We will go with another approach that is much less complex.
Note You need to log in before you can comment on or make changes to this bug.