[device-posture] Move the posture object out of the Screen interface. (#67)

darktears has just created a new issue for https://github.com/w3c/device-posture:

== Move the posture object out of the Screen interface. ==
Now that the specification only covers the posture it seems weird to have the main entry point of the API to be in the `Screen` interface. 

I strongly think we should move it to another place like `window` or `window.navigator`. The thinking is that there is only a single posture at a given time and it's not dependent on the screen.

What does sound best to you folks?

- `window.navigator.posture`

- `window.posture` which is basically `posture`

I strongly think that it we land into a generic object like `navigator` or `window` we should rename the entry point from `posture` to `device_posture`.

Please view or discuss this issue at https://github.com/w3c/device-posture/issues/67 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 22 April 2021 15:48:18 UTC