mdn icon indicating copy to clipboard operation
mdn copied to clipboard

Add docs for Private State Token API

Open skyclouds2001 opened this issue 2 years ago • 2 comments

Proposal

the feature has been supported since Chrome 117, see BCD update

Browser support

Chrome 117 + (and Edge)

Tasks

  • BCD add
    • [x] HTMLIFrameElement.privateToken in https://github.com/mdn/browser-compat-data/pull/20988
    • [x] XMLHttpRequest.setPrivateToken() in https://github.com/mdn/browser-compat-data/pull/20993
    • [ ] Request constructor privateToken option
    • [ ] fetch() method privateToken option
    • [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> element privatetoken attribute
    • [ ] Sec-Private-State-Token HTTP header
    • [ ] Sec-Private-State-Token-Lifetime HTTP header
    • [ ] Sec-Private-State-Token-Crypto-Version HTTP header
    • [ ] Sec-Redemption-Record HTTP header
  • document add
    • [ ] API summary documentation
    • [ ] add API guide documentation (if needed)
    • [ ] HTMLIFrameElement.privateToken (update HTMLIFrameElement list)
    • [ ] XMLHttpRequest.setPrivateToken() (update XMLHttpRequest list)
    • [ ] Request constructor privateToken option
    • [ ] fetch() method privateToken option
    • [ ] Document.hasPrivateToken() (update Document list)
    • [ ] Document.hasRedemptionRecord() (update Document list)
    • [ ] <iframe> element privateToken attribute
    • [ ] Sec-Private-State-Token HTTP header
    • [ ] Sec-Private-State-Token-Lifetime HTTP header
    • [ ] Sec-Private-State-Token-Crypto-Version HTTP header
    • [ ] Sec-Redemption-Record HTTP 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

skyclouds2001 avatar Jan 04 '24 03:01 skyclouds2001

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 ☝️

Rumyra avatar Jan 30 '24 09:01 Rumyra

Great stuff, thanks both. I'll make sure to reference this issue when I work on this.

chrisdavidmills avatar Jan 30 '24 11:01 chrisdavidmills