These changes are mostly editorial or minor correctness improvements. Notable ones:
Move to the modern definition of secure context
Move to permissions policy instead of feature policy. Closes #26.
Avoid "return and continue asynchronously" pattern. It's fine to create the BatteryManager as part of the algorithm (and that in fact matches implementations).
These changes are mostly editorial or minor correctness improvements. Notable ones:
Preview | Diff