Bug 195750 - Add WebsitePolicy for the client to specify the device orientation & motion access policy
Summary: Add WebsitePolicy for the client to specify the device orientation & motion a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 195731
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-14 10:57 PDT by Chris Dumez
Modified: 2019-03-14 13:41 PDT (History)
11 users (show)

See Also:


Attachments
Patch (25.53 KB, patch)
2019-03-14 11:51 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (25.53 KB, patch)
2019-03-14 11:58 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>