W3C home > Mailing lists > Public > public-device-apis-log@w3.org > April 2017

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

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Thu, 13 Apr 2017 09:08:28 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-293835011-1492074506-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC