Skip to content

Commit

Permalink
Make types argument optional
Browse files Browse the repository at this point in the history
required by WebIDL for dictionary arguments without required fields
  • Loading branch information
dontcallmedom committed Jun 5, 2024
1 parent 9380238 commit 893f9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ interface StorageAccessHandle {

partial interface Document {
Promise<boolean> hasUnpartitionedCookieAccess();
Promise<StorageAccessHandle> requestStorageAccess(StorageAccessTypes types);
Promise<StorageAccessHandle> requestStorageAccess(optional StorageAccessTypes types = {});
};
</pre>

Expand Down

0 comments on commit 893f9d7

Please sign in to comment.