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

Re: [sensors] Stop using "incumbent settings object"?

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Aug 2017 02:15:02 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-322644875-1502849700-sysbot+gh@w3.org>
I would be very surprised if implementations used incumbent here. It would mean that if you did

```js
<script>
const w = window.open();
w.moveTo(x, y);
</script>
```

it would move the containing window (containing the script element), and not the opened window.

So this is likely a spec bug. It would be great to have someone write tests though, especially to distinguish between current and relevant.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/sensors/issues/253#issuecomment-322644875 using your GitHub account
Received on Wednesday, 16 August 2017 02:15:03 UTC

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