Add WebsitePolicy for the client to specify the device orientation & motion access policy. If the client already knows access to the device motion & orientation API will be granted / denied, it can let WebKit know via WebsitePolicies so that WebKit will not ask the client when the permission is requested by JS.
Created attachment 364671 [details] Patch
Created attachment 364672 [details] Patch
Comment on attachment 364672 [details] Patch r=me
Comment on attachment 364672 [details] Patch Clearing flags on attachment: 364672 Committed r242960: <https://trac.webkit.org/changeset/242960>
All reviewed patches have been landed. Closing bug.
<rdar://problem/48899622>