RE: [WEBIDL] nullable dictionary members

2012-08-17 Thread Jungkee Song
Thanks for the comment, Boris! Jungkee > -Original Message- > From: Boris Zbarsky [mailto:bzbar...@mit.edu] > Sent: Thursday, August 16, 2012 3:26 PM > To: public-webapps@w3.org > Subject: Re: [WEBIDL] nullable dictionary members > > On 8/15/12 10:05 PM, Jungkee S

Re: [WEBIDL] nullable dictionary members

2012-08-15 Thread Boris Zbarsky
On 8/15/12 10:05 PM, Jungkee Song wrote: Having said that dictionary members are inherently optional by definition, is it meaningful (and valid) to mark optional fields as nullable? Seems like it should be to me, yes. dicationary Foo { DOMString iWantToBeRequired = "Default"; DOMStr

[WEBIDL] nullable dictionary members

2012-08-15 Thread Jungkee Song
Hi Cameron, I have a question about the use of *nullable* type for dictionary definition. Having said that dictionary members are inherently optional by definition, is it meaningful (and valid) to mark optional fields as nullable? For example, dicationary Foo { DOMString iWantToBeRequired =