w3c / battery

Battery Status API
https://www.w3.org/TR/battery-status/
Other
24 stars 15 forks source link

editorial: Remove permissions policy-related note in getBattery() #59

Closed rakuco closed 6 months ago

rakuco commented 6 months ago

Not only does this fix a ReSpec error caused by the fact that the "active document" dfn no longer exists, but the note was also factually incorrect: the "allowed to use" algorithm is not equal to checking if two origins are same origin-domain with each other.


Preview | Diff

rakuco commented 6 months ago

I'll put both this PR and #60 into a single pull request so that CI passes.