Skip to content

Commit c57bfcd

Browse files
Chrome 117 adds Private State Token API (#28333)
* Chrome 117 Private State Tokens * Set Android WebView support to false * Add Permissions-Policy directives * Update http/headers/Sec-Redemption-Record.json Co-authored-by: Claas Augner <[email protected]> * Update http/headers/Sec-Private-State-Token-Lifetime.json Co-authored-by: Claas Augner <[email protected]> * Update http/headers/Sec-Private-State-Token-Crypto-Version.json Co-authored-by: Claas Augner <[email protected]> --------- Co-authored-by: Claas Augner <[email protected]>
1 parent 30671e6 commit c57bfcd

11 files changed

+347
-4
lines changed

api/Document.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5041,7 +5041,9 @@
50415041
},
50425042
"safari_ios": "mirror",
50435043
"samsunginternet_android": "mirror",
5044-
"webview_android": "mirror",
5044+
"webview_android": {
5045+
"version_added": false
5046+
},
50455047
"webview_ios": "mirror"
50465048
},
50475049
"status": {
@@ -5072,7 +5074,9 @@
50725074
},
50735075
"safari_ios": "mirror",
50745076
"samsunginternet_android": "mirror",
5075-
"webview_android": "mirror",
5077+
"webview_android": {
5078+
"version_added": false
5079+
},
50765080
"webview_ios": "mirror"
50775081
},
50785082
"status": {

api/HTMLIFrameElement.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,9 @@
839839
},
840840
"safari_ios": "mirror",
841841
"samsunginternet_android": "mirror",
842-
"webview_android": "mirror",
842+
"webview_android": {
843+
"version_added": false
844+
},
843845
"webview_ios": "mirror"
844846
},
845847
"status": {

api/Request.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,46 @@
351351
}
352352
}
353353
},
354+
"init_privateToken_parameter": {
355+
"__compat": {
356+
"description": "`init.privateToken` parameter",
357+
"spec_url": "https://wicg.github.io/trust-token-api/#dom-requestinit-privatetoken",
358+
"support": {
359+
"chrome": {
360+
"version_added": "117"
361+
},
362+
"chrome_android": "mirror",
363+
"deno": {
364+
"version_added": false
365+
},
366+
"edge": "mirror",
367+
"firefox": {
368+
"version_added": false
369+
},
370+
"firefox_android": "mirror",
371+
"nodejs": {
372+
"version_added": false
373+
},
374+
"oculus": "mirror",
375+
"opera": "mirror",
376+
"opera_android": "mirror",
377+
"safari": {
378+
"version_added": false
379+
},
380+
"safari_ios": "mirror",
381+
"samsunginternet_android": "mirror",
382+
"webview_android": {
383+
"version_added": false
384+
},
385+
"webview_ios": "mirror"
386+
},
387+
"status": {
388+
"experimental": true,
389+
"standard_track": true,
390+
"deprecated": false
391+
}
392+
}
393+
},
354394
"init_referrer_parameter": {
355395
"__compat": {
356396
"description": "`init.referrer` parameter",

api/XMLHttpRequest.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,9 @@
16061606
},
16071607
"safari_ios": "mirror",
16081608
"samsunginternet_android": "mirror",
1609-
"webview_android": "mirror",
1609+
"webview_android": {
1610+
"version_added": false
1611+
},
16101612
"webview_ios": "mirror"
16111613
},
16121614
"status": {

api/_globals/fetch.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,46 @@
367367
}
368368
}
369369
},
370+
"init_privateToken_parameter": {
371+
"__compat": {
372+
"description": "`init.privateToken` parameter",
373+
"spec_url": "https://wicg.github.io/trust-token-api/#dom-requestinit-privatetoken",
374+
"support": {
375+
"chrome": {
376+
"version_added": "117"
377+
},
378+
"chrome_android": "mirror",
379+
"deno": {
380+
"version_added": false
381+
},
382+
"edge": "mirror",
383+
"firefox": {
384+
"version_added": false
385+
},
386+
"firefox_android": "mirror",
387+
"nodejs": {
388+
"version_added": false
389+
},
390+
"oculus": "mirror",
391+
"opera": "mirror",
392+
"opera_android": "mirror",
393+
"safari": {
394+
"version_added": false
395+
},
396+
"safari_ios": "mirror",
397+
"samsunginternet_android": "mirror",
398+
"webview_android": {
399+
"version_added": false
400+
},
401+
"webview_ios": "mirror"
402+
},
403+
"status": {
404+
"experimental": true,
405+
"standard_track": true,
406+
"deprecated": false
407+
}
408+
}
409+
},
370410
"init_referrerPolicy_parameter": {
371411
"__compat": {
372412
"description": "`init.referrerPolicy` parameter",

html/elements/iframe.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,6 +1919,39 @@
19191919
}
19201920
}
19211921
},
1922+
"privateToken": {
1923+
"__compat": {
1924+
"spec_url": "https://wicg.github.io/trust-token-api/#iframe-private-token",
1925+
"support": {
1926+
"chrome": {
1927+
"version_added": "117"
1928+
},
1929+
"chrome_android": "mirror",
1930+
"edge": "mirror",
1931+
"firefox": {
1932+
"version_added": false
1933+
},
1934+
"firefox_android": "mirror",
1935+
"oculus": "mirror",
1936+
"opera": "mirror",
1937+
"opera_android": "mirror",
1938+
"safari": {
1939+
"version_added": false
1940+
},
1941+
"safari_ios": "mirror",
1942+
"samsunginternet_android": "mirror",
1943+
"webview_android": {
1944+
"version_added": false
1945+
},
1946+
"webview_ios": "mirror"
1947+
},
1948+
"status": {
1949+
"experimental": true,
1950+
"standard_track": true,
1951+
"deprecated": false
1952+
}
1953+
}
1954+
},
19221955
"referrerpolicy": {
19231956
"__compat": {
19241957
"spec_url": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-referrerpolicy",

http/headers/Permissions-Policy.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,72 @@
10751075
}
10761076
}
10771077
},
1078+
"private-state-token-issuance": {
1079+
"__compat": {
1080+
"spec_url": "https://wicg.github.io/trust-token-api/#policy-controlled-feature-private-state-token-issuance",
1081+
"support": {
1082+
"chrome": {
1083+
"version_added": "117"
1084+
},
1085+
"chrome_android": "mirror",
1086+
"edge": "mirror",
1087+
"firefox": {
1088+
"version_added": false
1089+
},
1090+
"firefox_android": "mirror",
1091+
"oculus": "mirror",
1092+
"opera": "mirror",
1093+
"opera_android": "mirror",
1094+
"safari": {
1095+
"version_added": false
1096+
},
1097+
"safari_ios": "mirror",
1098+
"samsunginternet_android": "mirror",
1099+
"webview_android": {
1100+
"version_added": false
1101+
},
1102+
"webview_ios": "mirror"
1103+
},
1104+
"status": {
1105+
"experimental": true,
1106+
"standard_track": true,
1107+
"deprecated": false
1108+
}
1109+
}
1110+
},
1111+
"private-state-token-redemption": {
1112+
"__compat": {
1113+
"spec_url": "https://wicg.github.io/trust-token-api/#policy-controlled-feature-private-state-token-redemption",
1114+
"support": {
1115+
"chrome": {
1116+
"version_added": "117"
1117+
},
1118+
"chrome_android": "mirror",
1119+
"edge": "mirror",
1120+
"firefox": {
1121+
"version_added": false
1122+
},
1123+
"firefox_android": "mirror",
1124+
"oculus": "mirror",
1125+
"opera": "mirror",
1126+
"opera_android": "mirror",
1127+
"safari": {
1128+
"version_added": false
1129+
},
1130+
"safari_ios": "mirror",
1131+
"samsunginternet_android": "mirror",
1132+
"webview_android": {
1133+
"version_added": false
1134+
},
1135+
"webview_ios": "mirror"
1136+
},
1137+
"status": {
1138+
"experimental": true,
1139+
"standard_track": true,
1140+
"deprecated": false
1141+
}
1142+
}
1143+
},
10781144
"publickey-credentials-create": {
10791145
"__compat": {
10801146
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/Permissions-Policy/publickey-credentials-create",
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Sec-Private-State-Token-Crypto-Version": {
5+
"__compat": {
6+
"spec_url": "https://wicg.github.io/trust-token-api/#sec-private-state-token-crypto-version",
7+
"support": {
8+
"chrome": {
9+
"version_added": "117"
10+
},
11+
"chrome_android": "mirror",
12+
"edge": "mirror",
13+
"firefox": {
14+
"version_added": false
15+
},
16+
"firefox_android": "mirror",
17+
"oculus": "mirror",
18+
"opera": "mirror",
19+
"opera_android": "mirror",
20+
"safari": {
21+
"version_added": false
22+
},
23+
"safari_ios": "mirror",
24+
"samsunginternet_android": "mirror",
25+
"webview_android": {
26+
"version_added": false
27+
},
28+
"webview_ios": "mirror"
29+
},
30+
"status": {
31+
"experimental": true,
32+
"standard_track": true,
33+
"deprecated": false
34+
}
35+
}
36+
}
37+
}
38+
}
39+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Sec-Private-State-Token-Lifetime": {
5+
"__compat": {
6+
"spec_url": "https://wicg.github.io/trust-token-api/#sec-private-state-token-lifetime",
7+
"support": {
8+
"chrome": {
9+
"version_added": "117"
10+
},
11+
"chrome_android": "mirror",
12+
"edge": "mirror",
13+
"firefox": {
14+
"version_added": false
15+
},
16+
"firefox_android": "mirror",
17+
"oculus": "mirror",
18+
"opera": "mirror",
19+
"opera_android": "mirror",
20+
"safari": {
21+
"version_added": false
22+
},
23+
"safari_ios": "mirror",
24+
"samsunginternet_android": "mirror",
25+
"webview_android": {
26+
"version_added": false
27+
},
28+
"webview_ios": "mirror"
29+
},
30+
"status": {
31+
"experimental": true,
32+
"standard_track": true,
33+
"deprecated": false
34+
}
35+
}
36+
}
37+
}
38+
}
39+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Sec-Private-State-Token": {
5+
"__compat": {
6+
"spec_url": "https://wicg.github.io/trust-token-api/#sec-private-state-token",
7+
"support": {
8+
"chrome": {
9+
"version_added": "117"
10+
},
11+
"chrome_android": "mirror",
12+
"edge": "mirror",
13+
"firefox": {
14+
"version_added": false
15+
},
16+
"firefox_android": "mirror",
17+
"oculus": "mirror",
18+
"opera": "mirror",
19+
"opera_android": "mirror",
20+
"safari": {
21+
"version_added": false
22+
},
23+
"safari_ios": "mirror",
24+
"samsunginternet_android": "mirror",
25+
"webview_android": {
26+
"version_added": false
27+
},
28+
"webview_ios": "mirror"
29+
},
30+
"status": {
31+
"experimental": true,
32+
"standard_track": true,
33+
"deprecated": false
34+
}
35+
}
36+
}
37+
}
38+
}
39+
}

0 commit comments

Comments
 (0)