[heycam/webidl] Provide a concise syntax to create IDL dictionaries from prose (#142)

Web Bluetooth would like to create an instance of [BluetoothPermissionDescriptor](https://webbluetoothcg.github.io/web-bluetooth/#dictdef-bluetoothpermissiondescriptor) which is as if initialized from the `{
  name: "bluetooth",
  filters: var-from-prose,
  optionalServices: other-var-from-prose
}` ECMAScript object by the procedure in http://heycam.github.io/webidl/#es-dictionary. It'd be nice not to have to spell out the full initialization inline, but @annevk objected to just writing it as an ES object in https://github.com/whatwg/storage/pull/36#discussion_r71840330.

What do you folks recommend?

---
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/142

Received on Thursday, 4 August 2016 20:28:55 UTC