W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2015

in webIDL can a required dictionary member be nullable?

From: =JeffH <Jeff.Hodges@KingsMountain.com>
Date: Thu, 16 Jul 2015 16:49:16 -0700
Message-ID: <55A842FC.9070801@KingsMountain.com>
To: public-script-coord@w3.org
Hi folks, I have a quick hopefully easy question I just need to
double-check on..

in webIDL 2nd Ed. [1] can a required dictionary member be nullable?

e.g.  can one do this..

   dictionary foo {
     required DOMString? bar;
     required DOMString? baz;


 From my reading of [1], especially at [2], the answer is "yes" for the
case of such a dictionary, correct?



[1] https://heycam.github.io/webidl/
[2] https://heycam.github.io/webidl/#idl-nullable-type
Received on Thursday, 16 July 2015 23:49:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:24 UTC