- From: Philip Jägenstedt <notifications@github.com>
- Date: Mon, 19 Sep 2016 08:54:54 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Monday, 19 September 2016 15:55:28 UTC
Context: https://github.com/WebAudio/web-audio-api/issues/980
Let's simplify:
```WebIDL
dictionary Foo {
EventTarget target;
};
```
The only difference to making it nullable is that `{target: null}` would throw TypeError, might one want that?
Or: should WebIDL require (hah) that required dictionary members are non-nullable and that optional ones are nullable? And have a default value of null, so that omitting can't have another meaning?
(Sorry if the spec already has some requirements like this, it's big.)
--
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/176
Received on Monday, 19 September 2016 15:55:28 UTC