Re: [heycam/webidl] "Dictionaries must not be used as the type of an attribute or constant" -- why? (#981)

You'd have to keep them alive for the lifetime of the object the attribute is associated with, which isn't necessarily great as it would just be a normal mutable JavaScript object not necessarily representing the actual state of things (even if the actual state of things is immutable, say, as the object could be modified by any caller).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/981#issuecomment-839922641

Received on Wednesday, 12 May 2021 16:30:21 UTC