[permissions] What should "retrieve the permission state" do for context related permissinos? (#9)

Fullscreen requires a user interaction. Pointer lock requires the page to be fullscreen. Screen Orientation might require the page to be fullscreen.

If we had to have a permission associated with those feature, how should the "retrive the permission state" algorithm behave? Given that getting the permission state is asynchronous, code checking the state and using the feature would not work.

This said, it sounds unlikely that features like fullscreen or pointer lock need to be associated with a permission. Their security model is working fine as is for now.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/9

Received on Thursday, 5 March 2015 16:02:24 UTC