w3c / battery

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

editorial: Fix ReSpec errors to make CI pass again #61

Closed rakuco closed 6 months ago

rakuco commented 6 months ago

This PR includes two commits adjusting the permissions policy integration text to fix CI.


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

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.


editorial: Adjust references in Permissions Policy section


:boom: Error: 500 Internal Server Error :boom:

PR Preview failed to build. (Last tried on Jan 5, 2024, 10:14 AM UTC).

More PR Preview relies on a number of web services to run. There seems to be an issue with the following one: :rotating_light: [Spec Generator](https://www.w3.org/2015/labs/) - Spec Generator is the web service used to build specs that rely on ReSpec. :link: [Related URL](https://labs.w3.org/spec-generator/?type=respec&url=https%3A%2F%2Fraw.githubusercontent.com%2Fw3c%2Fbattery%2F153b3defe72eb45159f5fd8f7c29b74df3343796%2Findex.html%3FisPreview%3Dtrue) ``` 😭 Sorry, there was an error generating the HTML. Please report this issue! Specification: http://labs.w3.org/spec-generator/uploads/gOuqjm/index.html?isPreview=true%3FisPreview%3Dtrue&publishDate=2024-01-05 ReSpec version: 34.3.0 File a bug: https://github.com/w3c/respec/ Error: undefined ``` _If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please [file an issue](https://github.com/tobie/pr-preview/issues/new?title=Error%20not%20surfaced%20properly&body=See%20w3c/battery%2361.)._