Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BatteryManager: Describe instance creation in an algorithm #48

Open
rakuco opened this issue Sep 7, 2021 · 0 comments
Open

BatteryManager: Describe instance creation in an algorithm #48

rakuco opened this issue Sep 7, 2021 · 0 comments

Comments

@rakuco
Copy link
Member

rakuco commented Sep 7, 2021

This came up in #46 (specifically, here). @marcoscaceres says:

yeah, let's do that as followup... fwiw, I'm imagining this prose need to go into some initializer steps... as an example:
https://w3c.github.io/geolocation-api/#constructing-a-geolocationposition

Right now it is not very clear what should happen when a new BatteryManager is created: when exactly do the internal slots have their initial values set (vs when do we start checking)? When do we send the first event?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant