RESOLVED FIXED 195731
Device orientation's permission should only require a user gesture to prompt the user
https://bugs.webkit.org/show_bug.cgi?id=195731
Summary Device orientation's permission should only require a user gesture to prompt ...
Chris Dumez
Reported 2019-03-13 19:49:17 PDT
Device orientation's permission should only require a user gesture to prompt the user. If the user already made a decision, we should resolve the promise with this decision, even without user gesture. This is useful for JS to figure out if they are access to device orientation or not because showing UI for the user to give permission.
Attachments
Patch (12.16 KB, patch)
2019-03-13 19:51 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2019-03-13 19:51:19 PDT
Chris Dumez
Comment 2 2019-03-14 11:47:08 PDT
Comment on attachment 364612 [details] Patch ping review? This is blocking my next patch.
Geoffrey Garen
Comment 3 2019-03-14 11:55:41 PDT
Comment on attachment 364612 [details] Patch r=me
Chris Dumez
Comment 4 2019-03-14 11:58:03 PDT
Comment on attachment 364612 [details] Patch Clearing flags on attachment: 364612 Committed r242951: <https://trac.webkit.org/changeset/242951>
Chris Dumez
Comment 5 2019-03-14 11:58:04 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2019-03-14 11:59:19 PDT
Note You need to log in before you can comment on or make changes to this bug.