GoogleChrome / web.dev

The frontend, backend, and content source code for web.dev
https://web.dev
Other
3.57k stars 1.58k forks source link

content: Wake Lock API case study [Apr 25] #2267

Closed kaycebasques closed 4 years ago

kaycebasques commented 4 years ago

@tomayac if this API isn't supported in other browsers (I can't find MDN or Can I use? articles on the topic) please make sure to mention at the top of the article that this is only supported in Chrome. Example.

jpmedley commented 4 years ago

It's more complicated than that. Absence on caniuse and MDN may indicate nothing more than being out of date. This is based on a W3C spec that has been around for several years and is edited by employees of other browsers. It could also be that in spite of being W3C, we're just the first to implement it. (Very likely. We do that a lot.) In other words, any statement about this being Chrome-only needs to capture this nuance.

Thomas, if you know for sure that another browser supports this, I'll submit a PR to MDN. Caniuse ingests MDN's compatibility data now, so that will put it on both.

jpmedley commented 4 years ago

FYI, Wake Lock is shipping with Promises in Chrome 82. Assuming you're covering that and it's the reason for this article, the deadline is actually 4/25 and it is a hard deadline. (That is one day earlier than the beta release because this needs to be live so that we can link to it from the beta post.)

tomayac commented 4 years ago

Work on this has started in this document (internal-only, sorry). Acknowledging the hard deadline of April 25.

kaycebasques commented 4 years ago

@tomayac please leave a comment in this issue when the draft is ready for @jpmedley's review (I'm presuming Joe is the reviewer because it seems like a Capabilities API)

jpmedley commented 4 years ago

@kaycebasques That is correct. I'm emailing you a Fugu spreadsheet.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. To prevent his from happening, leave a comment.

tomayac commented 4 years ago

We're waiting for customer input.