Re: [sensors] Top-level browsing context restrictions.

Looking at this a bit more closely, I think I initially mixed-up "top-level browsing context" with ["visibility state"](https://w3c.github.io/page-visibility/#dfn-steps-to-determine-the-visibility-state).

I think we want to distinguish the two. Restrict both for now, then lift restrictions around top-levle browsing context using [FeaturePolicy](https://docs.google.com/document/d/1iMIpTUJWzrW-_TqL9IBkxRwbFUto7P7Dn1oXVok7h5U/edit#heading=h.ciuptq8j47e6) and page visibility using more complex permission descriptors (with a `boolean allowBackgroundUsage = false;` dictionary member).

-- 
GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/175#issuecomment-293835011 using your GitHub account

Received on Thursday, 13 April 2017 09:08:34 UTC