RESOLVED FIXED 214445
Add a addition point for extra user media sandbox extensions
https://bugs.webkit.org/show_bug.cgi?id=214445
Summary Add a addition point for extra user media sandbox extensions
Tim Horton
Reported 2020-07-17 00:03:20 PDT
Add a addition point for extra user media sandbox extensions
Attachments
Patch (4.21 KB, patch)
2020-07-17 00:03 PDT, Tim Horton
no flags
Tim Horton
Comment 1 2020-07-17 00:03:53 PDT
Tim Horton
Comment 2 2020-07-17 00:03:55 PDT
Sam Weinig
Comment 3 2020-07-17 09:00:43 PDT
Comment on attachment 404540 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404540&action=review > Source/WebKit/UIProcess/UserMediaProcessManager.cpp:111 > + if (needsAppleCameraSandboxExtension) { > extensionCount++; > +#if HAVE(ADDITIONAL_APPLE_CAMERA_SERVICE) > + extensionCount++; > +#endif > + } I wonder if all this nonsense can be removed if we just modernized the Handle and HandleArray code. I would bet (though don't really remember) it stems from a time pre-move-only types, and now could probably be a lot more sane.
Anders Carlsson
Comment 4 2020-07-17 09:08:30 PDT
(In reply to Sam Weinig from comment #3) > I wonder if all this nonsense can be removed if we just modernized the > Handle and HandleArray code. I would bet (though don't really remember) it > stems from a time pre-move-only types, and now could probably be a lot more > sane. Yup.
Tim Horton
Comment 5 2020-07-17 10:52:51 PDT
Comment on attachment 404540 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404540&action=review >> Source/WebKit/UIProcess/UserMediaProcessManager.cpp:111 >> + } > > I wonder if all this nonsense can be removed if we just modernized the Handle and HandleArray code. I would bet (though don't really remember) it stems from a time pre-move-only types, and now could probably be a lot more sane. Heh, I wondered (and complained to others!) about why it was written like this; that makes sense. Not to be fixed in this patch, though.
EWS
Comment 6 2020-07-17 11:24:49 PDT
Committed r264521: <https://trac.webkit.org/changeset/264521> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404540 [details].
Note You need to log in before you can comment on or make changes to this bug.