mdn
mdn copied to clipboard
Add docs for Private State Token API
Proposal
the feature has been supported since Chrome 117, see BCD update
Browser support
Chrome 117 + (and Edge)
Tasks
- BCD add
- [x]
HTMLIFrameElement.privateTokenin https://github.com/mdn/browser-compat-data/pull/20988 - [x]
XMLHttpRequest.setPrivateToken()in https://github.com/mdn/browser-compat-data/pull/20993 - [ ]
RequestconstructorprivateTokenoption - [ ]
fetch()methodprivateTokenoption - [x]
Document.hasPrivateToken()in https://github.com/mdn/browser-compat-data/pull/22013 - [x]
Document.hasRedemptionRecord()in https://github.com/mdn/browser-compat-data/pull/20985 - [ ]
<iframe>elementprivatetokenattribute - [ ]
Sec-Private-State-TokenHTTP header - [ ]
Sec-Private-State-Token-LifetimeHTTP header - [ ]
Sec-Private-State-Token-Crypto-VersionHTTP header - [ ]
Sec-Redemption-RecordHTTP header
- [x]
- document add
- [ ] API summary documentation
- [ ] add API guide documentation (if needed)
- [ ]
HTMLIFrameElement.privateToken(updateHTMLIFrameElementlist) - [ ]
XMLHttpRequest.setPrivateToken()(updateXMLHttpRequestlist) - [ ]
RequestconstructorprivateTokenoption - [ ]
fetch()methodprivateTokenoption - [ ]
Document.hasPrivateToken()(updateDocumentlist) - [ ]
Document.hasRedemptionRecord()(updateDocumentlist) - [ ]
<iframe>elementprivateTokenattribute - [ ]
Sec-Private-State-TokenHTTP header - [ ]
Sec-Private-State-Token-LifetimeHTTP header - [ ]
Sec-Private-State-Token-Crypto-VersionHTTP header - [ ]
Sec-Redemption-RecordHTTP header
- [ ] add the API in GroupData
- [ ] update BCD to add mdn_url
Dependencies
No response
Additional information
spec https://wicg.github.io/trust-token-api/
chrome status https://chromestatus.com/feature/5078049450098688
Are you willing to support this work?
No response
Thanks @skyclouds2001 :)
@chrisdavidmills I can see this in your backlog so assigning to you - @skyclouds2001 has written up a great checklist of the tasks above ☝️
Great stuff, thanks both. I'll make sure to reference this issue when I work on this.