Bug 195750

Summary: Add WebsitePolicy for the client to specify the device orientation & motion access policy
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, commit-queue, dbates, esprehn+autocc, ews-watchlist, ggaren, japhet, kangil.han, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 195731    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2019-03-14 10:57:45 PDT
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.
Comment 1 Chris Dumez 2019-03-14 11:51:53 PDT
Created attachment 364671 [details]
Patch
Comment 2 Chris Dumez 2019-03-14 11:58:25 PDT
Created attachment 364672 [details]
Patch
Comment 3 Geoffrey Garen 2019-03-14 13:12:07 PDT
Comment on attachment 364672 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2019-03-14 13:40:15 PDT
Comment on attachment 364672 [details]
Patch

Clearing flags on attachment: 364672

Committed r242960: <https://trac.webkit.org/changeset/242960>
Comment 5 WebKit Commit Bot 2019-03-14 13:40:17 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2019-03-14 13:41:21 PDT
<rdar://problem/48899622>