Re: [heycam/webidl] Represent objects with both specified and unspecified members (#568)

Adding [WebCrypto case](https://w3c.github.io/webcrypto/#cryptokey-interface) which also uses `object` for a union of dictionaries:

```webidl
[SecureContext,Exposed=(Window,Worker)]
interface CryptoKey {
  readonly attribute KeyType type;
  readonly attribute boolean extractable;
  readonly attribute object algorithm; // union of subdictionaries of KeyAlgorithm
  readonly attribute object usages; // just returns a sequence.
};
```

-- 
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/568#issuecomment-406778977

Received on Saturday, 21 July 2018 07:57:01 UTC