- From: Tobie Langel via GitHub <sysbot+gh@w3.org>
- Date: Mon, 22 May 2017 16:01:36 +0000
- To: public-device-apis-log@w3.org
> @tobie While we are waiting for relevant people to chime in, could you explain how this change might cause IOP issue, with one example, if you have something in mind. The following code will only work in browsers that don't implement this: ```js let g = new Gyroscope(); g.start(); ``` while this (or something like it—I'm not too sure about the specifics) will work in all browsers. ```js let g = new Gyroscope(); document.onclick = _ => g.start(); ``` Hence Web devs will need to implement the latter if they want their code to be interoperable, and thus we might as well make that mitigation strategy mandatory (but then we need to make sure we're OK with that). -- GitHub Notification of comment by tobie Please view or discuss this issue at https://github.com/w3c/sensors/pull/207#issuecomment-303143857 using your GitHub account
Received on Monday, 22 May 2017 16:01:46 UTC