From 07e0eb81207abc50d40735bc9fbbd0fc39b6764c Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Thu, 23 Nov 2023 22:58:20 +0000 Subject: [PATCH 1/9] Update Storage Access API data --- api/Document.json | 59 ++++++++++++++++++++++++++++++++++++++++---- api/Permissions.json | 24 +++++++++++++++++- 2 files changed, 77 insertions(+), 6 deletions(-) diff --git a/api/Document.json b/api/Document.json index acbc369d8fd4a3..2623e0b0363b08 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4398,7 +4398,30 @@ "support": { "chrome": [ { - "version_added": "113", + "version_added": "117" + }, + { + "version_added": "115", + "partial_implementation": true, + "notes": "Only available to Google Chrome's first-party sets." + }, + { + "version_added": "78", + "flags": [ + { + "type": "preference", + "name": "#storage-access-api", + "value_to_set": "Enabled" + } + ] + } + ], + "chrome_android": [ + { + "version_added": "120" + }, + { + "version_added": "115", "partial_implementation": true, "notes": "Only available to Google Chrome's first-party sets." }, @@ -4413,12 +4436,11 @@ ] } ], - "chrome_android": "mirror", "edge": { "version_added": "85" }, "firefox": { - "version_added": "65" + "version_added": "117" }, "firefox_android": "mirror", "ie": { @@ -4428,7 +4450,8 @@ "opera": "mirror", "opera_android": "mirror", "safari": { - "version_added": "11.1" + "version_added": "11.1", + "notes": "Does not support the navigator.permissions.query({name: 'storage-access'})." }, "safari_ios": "mirror", "samsunginternet_android": "mirror", @@ -6114,6 +6137,33 @@ "spec_url": "https://privacycg.github.io/storage-access/#dom-document-requeststorageaccess", "support": { "chrome": [ + { + "version_added": "117" + }, + { + "version_added": "113", + "partial_implementation": true, + "notes": [ + "Only available to Google Chrome's first-party sets.", + "Client-side storage access granted per-frame, as per spec updates see explanation." + ] + }, + { + "version_added": "78", + "flags": [ + { + "type": "preference", + "name": "#storage-access-api", + "value_to_set": "Enabled" + } + ], + "notes": "Client-side storage access granted per-page (see explanation)" + } + ], + "chrome_android": [ + { + "version_added": "120" + }, { "version_added": "113", "partial_implementation": true, @@ -6134,7 +6184,6 @@ "notes": "Client-side storage access granted per-page (see explanation)" } ], - "chrome_android": "mirror", "edge": [ { "version_added": "113", diff --git a/api/Permissions.json b/api/Permissions.json index ac5aa0a5d6b532..e6693de043c3e7 100644 --- a/api/Permissions.json +++ b/api/Permissions.json @@ -674,6 +674,29 @@ "spec_url": "https://privacycg.github.io/storage-access/#permissions-integration", "support": { "chrome": [ + { + "version_added": "117" + }, + { + "version_added": "113", + "partial_implementation": true, + "notes": "Only available to Google Chrome's first-party sets." + }, + { + "version_added": "86", + "flags": [ + { + "type": "preference", + "name": "#storage-access-api", + "value_to_set": "Enabled" + } + ] + } + ], + "chrome_android": [ + { + "version_added": "120" + }, { "version_added": "113", "partial_implementation": true, @@ -690,7 +713,6 @@ ] } ], - "chrome_android": "mirror", "edge": "mirror", "firefox": { "version_added": false From 64a457fca39768e1fd51bc3046c0daaf8df5b12a Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Thu, 23 Nov 2023 23:08:45 +0000 Subject: [PATCH 2/9] Remove first-party sets data --- api/Document.json | 26 -------------------------- api/Permissions.json | 12 +----------- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/api/Document.json b/api/Document.json index 2623e0b0363b08..14e32478e29bac 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4400,11 +4400,6 @@ { "version_added": "117" }, - { - "version_added": "115", - "partial_implementation": true, - "notes": "Only available to Google Chrome's first-party sets." - }, { "version_added": "78", "flags": [ @@ -4420,11 +4415,6 @@ { "version_added": "120" }, - { - "version_added": "115", - "partial_implementation": true, - "notes": "Only available to Google Chrome's first-party sets." - }, { "version_added": "78", "flags": [ @@ -6140,14 +6130,6 @@ { "version_added": "117" }, - { - "version_added": "113", - "partial_implementation": true, - "notes": [ - "Only available to Google Chrome's first-party sets.", - "Client-side storage access granted per-frame, as per spec updates see explanation." - ] - }, { "version_added": "78", "flags": [ @@ -6164,14 +6146,6 @@ { "version_added": "120" }, - { - "version_added": "113", - "partial_implementation": true, - "notes": [ - "Only available to Google Chrome's first-party sets.", - "Client-side storage access granted per-frame, as per spec updates see explanation." - ] - }, { "version_added": "78", "flags": [ diff --git a/api/Permissions.json b/api/Permissions.json index e6693de043c3e7..94ba5e3ba85ff6 100644 --- a/api/Permissions.json +++ b/api/Permissions.json @@ -677,11 +677,6 @@ { "version_added": "117" }, - { - "version_added": "113", - "partial_implementation": true, - "notes": "Only available to Google Chrome's first-party sets." - }, { "version_added": "86", "flags": [ @@ -697,11 +692,6 @@ { "version_added": "120" }, - { - "version_added": "113", - "partial_implementation": true, - "notes": "Only available to Google Chrome's first-party sets." - }, { "version_added": "86", "flags": [ @@ -715,7 +705,7 @@ ], "edge": "mirror", "firefox": { - "version_added": false + "version_added": "117" }, "firefox_android": "mirror", "ie": { From 8dcc362af486692111ad92be8d6058cf8904017c Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Thu, 23 Nov 2023 23:11:25 +0000 Subject: [PATCH 3/9] Remove experimental flag --- api/Permissions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Permissions.json b/api/Permissions.json index 94ba5e3ba85ff6..52636220f937c4 100644 --- a/api/Permissions.json +++ b/api/Permissions.json @@ -724,7 +724,7 @@ } }, "status": { - "experimental": true, + "experimental": false, "standard_track": true, "deprecated": false } From 4f57154745e8303a0279ef1bd8c91faf4d81313a Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Fri, 24 Nov 2023 13:59:33 +0000 Subject: [PATCH 4/9] Apply suggestions from code review Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu --- api/Document.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/Document.json b/api/Document.json index 14e32478e29bac..1ed4a630094fdd 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4398,7 +4398,7 @@ "support": { "chrome": [ { - "version_added": "117" + "version_added": "119" }, { "version_added": "78", @@ -6128,7 +6128,7 @@ "support": { "chrome": [ { - "version_added": "117" + "version_added": "119" }, { "version_added": "78", From d89d9dbf8d1df68cb6112aef3dc16a4c1ec6a418 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Fri, 24 Nov 2023 14:00:01 +0000 Subject: [PATCH 5/9] Update api/Permissions.json --- api/Permissions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Permissions.json b/api/Permissions.json index 52636220f937c4..00d09fd66541d2 100644 --- a/api/Permissions.json +++ b/api/Permissions.json @@ -675,7 +675,7 @@ "support": { "chrome": [ { - "version_added": "117" + "version_added": "119" }, { "version_added": "86", From 29c182a262804f4de7a67dfcf1b95c428abdf8d2 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sat, 25 Nov 2023 07:49:48 +0000 Subject: [PATCH 6/9] Remove old flags --- api/Document.json | 91 +++++++------------------------------------- api/Permissions.json | 36 +++--------------- 2 files changed, 19 insertions(+), 108 deletions(-) diff --git a/api/Document.json b/api/Document.json index 1ed4a630094fdd..ad72fa70eae517 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4396,39 +4396,13 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/hasStorageAccess", "spec_url": "https://privacycg.github.io/storage-access/#dom-document-hasstorageaccess", "support": { - "chrome": [ - { - "version_added": "119" - }, - { - "version_added": "78", - "flags": [ - { - "type": "preference", - "name": "#storage-access-api", - "value_to_set": "Enabled" - } - ] - } - ], - "chrome_android": [ - { - "version_added": "120" - }, - { - "version_added": "78", - "flags": [ - { - "type": "preference", - "name": "#storage-access-api", - "value_to_set": "Enabled" - } - ] - } - ], - "edge": { - "version_added": "85" + "chrome": { + "version_added": "119" }, + "chrome_android": { + "version_added": "120" + }, + "edge": "mirror", "firefox": { "version_added": "117" }, @@ -6126,52 +6100,13 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess", "spec_url": "https://privacycg.github.io/storage-access/#dom-document-requeststorageaccess", "support": { - "chrome": [ - { - "version_added": "119" - }, - { - "version_added": "78", - "flags": [ - { - "type": "preference", - "name": "#storage-access-api", - "value_to_set": "Enabled" - } - ], - "notes": "Client-side storage access granted per-page (see explanation)" - } - ], - "chrome_android": [ - { - "version_added": "120" - }, - { - "version_added": "78", - "flags": [ - { - "type": "preference", - "name": "#storage-access-api", - "value_to_set": "Enabled" - } - ], - "notes": "Client-side storage access granted per-page (see explanation)" - } - ], - "edge": [ - { - "version_added": "113", - "notes": [ - "Only resolves requestStorageAccess() calls that come from domains within a first-party set.", - "Each embedded site instance must separately opt in to client-side storage access via a requestStorageAccess() call, as per spec updates." - ] - }, - { - "version_added": "85", - "version_removed": "112", - "notes": "Client-side storage access granted per-page (see explanation)" - } - ], + "chrome": { + "version_added": "119" + }, + "chrome_android": { + "version_added": "120" + }, + "edge": "mirror", "firefox": { "version_added": "65" }, diff --git a/api/Permissions.json b/api/Permissions.json index 00d09fd66541d2..a85e2d0fd492e2 100644 --- a/api/Permissions.json +++ b/api/Permissions.json @@ -673,36 +673,12 @@ "description": "storage-access permission", "spec_url": "https://privacycg.github.io/storage-access/#permissions-integration", "support": { - "chrome": [ - { - "version_added": "119" - }, - { - "version_added": "86", - "flags": [ - { - "type": "preference", - "name": "#storage-access-api", - "value_to_set": "Enabled" - } - ] - } - ], - "chrome_android": [ - { - "version_added": "120" - }, - { - "version_added": "86", - "flags": [ - { - "type": "preference", - "name": "#storage-access-api", - "value_to_set": "Enabled" - } - ] - } - ], + "chrome": { + "version_added": "119" + }, + "chrome_android": { + "version_added": "120" + }, "edge": "mirror", "firefox": { "version_added": "117" From 3f62b4039c1fe1886fecc0e64ae0a81a50f11545 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sat, 25 Nov 2023 10:35:22 +0000 Subject: [PATCH 7/9] Add note on permission to requestStorageAccess too --- api/Document.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/Document.json b/api/Document.json index ad72fa70eae517..215213f43f5f4b 100644 --- a/api/Document.json +++ b/api/Document.json @@ -6119,7 +6119,10 @@ "opera_android": "mirror", "safari": { "version_added": "11.1", - "notes": "Client-side storage access granted per-page (see explanation)" + "notes": [ + "Client-side storage access granted per-page (see explanation)", + "Does not support the navigator.permissions.query({name: 'storage-access'})." + ] }, "safari_ios": "mirror", "samsunginternet_android": "mirror", From 5395b3e64960f2dccb280e61de0ab3fa3b99fd70 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sun, 26 Nov 2023 19:53:57 +0000 Subject: [PATCH 8/9] Revert Safari notes --- api/Document.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/api/Document.json b/api/Document.json index 215213f43f5f4b..fa3e9b76b35d73 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4414,8 +4414,7 @@ "opera": "mirror", "opera_android": "mirror", "safari": { - "version_added": "11.1", - "notes": "Does not support the navigator.permissions.query({name: 'storage-access'})." + "version_added": "11.1" }, "safari_ios": "mirror", "samsunginternet_android": "mirror", @@ -6119,10 +6118,7 @@ "opera_android": "mirror", "safari": { "version_added": "11.1", - "notes": [ - "Client-side storage access granted per-page (see explanation)", - "Does not support the navigator.permissions.query({name: 'storage-access'})." - ] + "notes": "Client-side storage access granted per-page (see explanation)" }, "safari_ios": "mirror", "samsunginternet_android": "mirror", From fd8cf98996ad0a2e22da54e8740dce640f484d44 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sun, 26 Nov 2023 20:06:20 +0000 Subject: [PATCH 9/9] Update api/Document.json --- api/Document.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Document.json b/api/Document.json index fa3e9b76b35d73..b27fe5e2d0aa45 100644 --- a/api/Document.json +++ b/api/Document.json @@ -4404,7 +4404,7 @@ }, "edge": "mirror", "firefox": { - "version_added": "117" + "version_added": "65" }, "firefox_android": "mirror", "ie": {