Skip to content

Commit 34b40d9

Browse files
committed
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.
1 parent b1603e0 commit 34b40d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ed/idlpatches/saa-non-cookie-storage.idl.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ index 45330025c..6cc0a7887 100644
1616

1717
partial interface Document {
1818
Promise<boolean> hasUnpartitionedCookieAccess();
19-
- Promise<StorageAccessHandle> requestStorageAccess(StorageAccessTypes types);
19+
- Promise<StorageAccessHandle> requestStorageAccess(optional StorageAccessTypes types = {});
2020
};
2121

2222
enum SameSiteCookiesType { "all", "none" };

0 commit comments

Comments
 (0)