From 34b40d98f25d6a40701dd104f544e21a9b9e2a57 Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Wed, 30 Apr 2025 07:49:57 +0200 Subject: [PATCH] Adjust patch for saa-non-cookie-storage Spec now defines the `requestStorageAccess` parameter as optional, and notes in an inline issue that this won't work unless Web IDL adopts a mechanism to specify that a dictionary cannot be empty. In the meantime, the problem is the same as before from a curation perspective. --- ed/idlpatches/saa-non-cookie-storage.idl.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ed/idlpatches/saa-non-cookie-storage.idl.patch b/ed/idlpatches/saa-non-cookie-storage.idl.patch index f271ca03a9ea..48235e1827a7 100644 --- a/ed/idlpatches/saa-non-cookie-storage.idl.patch +++ b/ed/idlpatches/saa-non-cookie-storage.idl.patch @@ -16,7 +16,7 @@ index 45330025c..6cc0a7887 100644 partial interface Document { Promise hasUnpartitionedCookieAccess(); -- Promise requestStorageAccess(StorageAccessTypes types); +- Promise requestStorageAccess(optional StorageAccessTypes types = {}); }; enum SameSiteCookiesType { "all", "none" };