[Model] Restrict IPC calls to ARKit SPI availability and runtime flag
Created attachment 432682 [details] Patch
Created attachment 432686 [details] Patch
Comment on attachment 432686 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432686&action=review > Source/WebKit/UIProcess/Cocoa/ModelElementControllerCocoa.mm:59 > + if (!m_webPageProxy->preferences().modelElementEnabled()) > + return; These could be stronger (like MESSAGE_CHECKs, killing the WP if something unexpected is happening), but this is certainly better than nothing.
Committed r279477 (239330@main): <https://commits.webkit.org/239330@main>
<rdar://problem/80040015>