content icon indicating copy to clipboard operation
content copied to clipboard

Editorial review: Add docs for private state token API

Open chrisdavidmills opened this issue 1 month ago • 8 comments

Description

Chrome 117 added support for the Private State Token API. See https://chromestatus.com/feature/5078049450098688.

This PR adds docs for the API, including WebAPI, HTML, and HTTP features.

Note that some features don't have spec_urls set for their compat data, so their Specification sections say they don't appear to be defined in a specification. I'll fix that in a follow-up PR. UPDATE: ignore this; the data is now showing up fine.

Motivation

Additional details

Related issues and pull requests

chrisdavidmills avatar Nov 06 '25 10:11 chrisdavidmills

Preview URLs (21 pages)
Flaws (12)

Note! 17 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/API/HTMLIFrameElement Title: HTMLIFrameElement Flaw count: 6

  • macros:
    • Macro domxref produces link /en-US/docs/Web/API/HTMLIFrameElement/align which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/HTMLIFrameElement/frameBorder which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/HTMLIFrameElement/longDesc which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/HTMLIFrameElement/marginHeight which doesn't resolve
    • Macro domxref produces link /en-US/docs/Web/API/HTMLIFrameElement/marginWidth which doesn't resolve
    • and 1 more flaws omitted

URL: /en-US/docs/Web/API/Private_State_Token_API/Using Title: Using the Private State Token API Flaw count: 2

  • macros:
    • Macro domxref produces link /en-US/docs/Web/API/fetch which is a redirect
    • Macro domxref produces link /en-US/docs/Web/API/fetch which is a redirect

URL: /en-US/docs/Web/HTTP/Reference/Headers/Sec-Private-State-Token Title: Sec-Private-State-Token header Flaw count: 3

  • unknown:
    • No generic content config found
    • no blog root
    • no blog root

URL: /en-US/docs/Web/HTTP/Reference/Headers/Sec-Redemption-Record Title: Sec-Redemption-Record header Flaw count: 1

  • macros:
    • Macro httpheader produces link /en-US/docs/Web/HTTP/Reference/Headers/Sec-Private-State-Crypto-Version which doesn't resolve
External URLs (15)

URL: /en-US/docs/Web/API/Private_State_Token_API Title: Private State Token API


URL: /en-US/docs/Web/API/Private_State_Token_API/Using Title: Using the Private State Token API

(comment last updated: 2025-12-15 17:35:22)

github-actions[bot] avatar Nov 06 '25 10:11 github-actions[bot]

@chrisdavidmills Removing my review - I'm on last day before holiday so I'd just be blocking you.

hamishwillee avatar Nov 06 '25 22:11 hamishwillee

Removing the review until it's ready for an editorial, if that's OK 👍🏻

bsmth avatar Nov 07 '25 10:11 bsmth

@hamishwillee @bsmth this one is ready for editorial review now. Quite a few files, but most of them are small. This one is a bit less complex than some of the other privacy sandbox-related APIs.

chrisdavidmills avatar Dec 11 '25 10:12 chrisdavidmills

For the permissions policy directives, want to mention what * means? Something like:

The default allowlist for private-state-token-issuance is * (wildcard matching all origins).

bsmth avatar Dec 12 '25 13:12 bsmth

A couple of comments for you, everything else looking good, tnx

bsmth avatar Dec 12 '25 13:12 bsmth

For the permissions policy directives, want to mention what * means? Something like:

The default allowlist for private-state-token-issuance is * (wildcard matching all origins).

Nah, I think this is OK as-is. It says clearly what * means on the main Permissions-Policy reference page, and on the Permission Policy guide.

chrisdavidmills avatar Dec 12 '25 15:12 chrisdavidmills

I assume you don't also need my review?

hamishwillee avatar Dec 14 '25 23:12 hamishwillee

I assume you don't also need my review?

@hamishwillee Nah, I think we're good, thanks mate.

chrisdavidmills avatar Dec 15 '25 15:12 chrisdavidmills

Thanks, all 👍🏻

bsmth avatar Dec 16 '25 10:12 bsmth