From 893f9d74558013b612af278c6d45620b5530bd17 Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Wed, 5 Jun 2024 10:10:40 +0200 Subject: [PATCH] Make types argument optional required by WebIDL for dictionary arguments without required fields --- spec.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.bs b/spec.bs index 276c4dd..94859ca 100644 --- a/spec.bs +++ b/spec.bs @@ -159,7 +159,7 @@ interface StorageAccessHandle { partial interface Document { Promise<boolean> hasUnpartitionedCookieAccess(); - Promise<StorageAccessHandle> requestStorageAccess(StorageAccessTypes types); + Promise<StorageAccessHandle> requestStorageAccess(optional StorageAccessTypes types = {}); };