```idl
Promise<CookieListItem?> get(optional CookieStoreGetOptions options = {});
```
The above means that I can call `get()` (with nothing) and that doesn't seem to get my anything (throws TypeError if I read the algo right). Throwing makes sense, but it is not a type error as I am doing something that is valid according to the IDL :-)
So you should really remove the "optional ... = {}" part - those options are not optional as they throw
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/469#issuecomment-633881658