RESOLVED FIXED 222465
Allow access to more cmio services from Web/GPU processes
https://bugs.webkit.org/show_bug.cgi?id=222465
Summary Allow access to more cmio services from Web/GPU processes
youenn fablet
Reported 2021-02-26 02:14:12 PST
Allow access to more cmio services from Web/GPU processes
Attachments
Patch (2.41 KB, patch)
2021-02-26 02:17 PST, youenn fablet
no flags
Radar WebKit Bug Importer
Comment 1 2021-02-26 02:16:04 PST
youenn fablet
Comment 2 2021-02-26 02:16:16 PST
youenn fablet
Comment 3 2021-02-26 02:17:12 PST
EWS
Comment 4 2021-02-26 09:20:13 PST
youenn fablet
Comment 5 2021-02-26 09:20:20 PST
Comment on attachment 421626 [details] Patch Let's wait for PerArne to validate this.
Per Arne Vollan
Comment 6 2021-02-26 09:22:19 PST
Comment on attachment 421626 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=421626&action=review R=me. > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1401 > + (global-name "com.apple.cmio.registerassistantservice") Are these needed in the WebContent process when they are present in the GPU process' sandbox?
youenn fablet
Comment 7 2021-02-26 09:23:32 PST
(In reply to Per Arne Vollan from comment #6) > Comment on attachment 421626 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=421626&action=review > > R=me. > > > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1401 > > + (global-name "com.apple.cmio.registerassistantservice") > > Are these needed in the WebContent process when they are present in the GPU > process' sandbox? They are only needed in WebContent process when capturing in WebProcess.
Per Arne Vollan
Comment 8 2021-02-26 09:41:05 PST
Comment on attachment 421626 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=421626&action=review >>> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1401 >>> + (global-name "com.apple.cmio.registerassistantservice") >> >> Are these needed in the WebContent process when they are present in the GPU process' sandbox? > > They are only needed in WebContent process when capturing in WebProcess. Are they currently strictly needed in WebProcess, or can we rely on capturing being done in GPU process going forward?
youenn fablet
Comment 9 2021-03-08 23:14:10 PST
(In reply to Per Arne Vollan from comment #8) > Comment on attachment 421626 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=421626&action=review > > >>> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1401 > >>> + (global-name "com.apple.cmio.registerassistantservice") > >> > >> Are these needed in the WebContent process when they are present in the GPU process' sandbox? > > > > They are only needed in WebContent process when capturing in WebProcess. > > Are they currently strictly needed in WebProcess, or can we rely on > capturing being done in GPU process going forward? The idea is indeed to do capture in GPUProcess going forward. These services are allowed with a camera sandbox extension. We should not send it to WebProcess it if capturing happens in GPUProcess.
EWS
Comment 10 2021-03-08 23:19:29 PST
Committed r274138: <https://commits.webkit.org/r274138> All reviewed patches have been landed. Closing bug and clearing flags on attachment 421626 [details].
Note You need to log in before you can comment on or make changes to this bug.