- From: Boris Zbarsky <notifications@github.com>
- Date: Thu, 19 May 2016 18:04:10 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc:
- Message-ID: <heycam/webidl/issues/124/220492410@github.com>
> It is not immediately clear whether a value set to undefined should be considered "specified in the dictionary value" and thus present. It follows directly from http://heycam.github.io/webidl/#es-to-dictionary step 5 substep 1 subsubstep 3. `undefined` is treated the same way as a missing property (as it has to be, because step 5 substep 1 subsubstep 2, which just does [[Get]]). The section you link to is in the language-agnostic section of the spec, so can't talk about interactions with the ES `undefined` value. > The same issue may apply for null `null` is not magic. It gets converted to the type specified for the dictionary member in the usual way (this may of course throw). > at least some implementations may consider dictionaryValue:undefined to be not specified I'd hope they all do! The spec is really clear on this and has been for years. Devtools can obviously do whatever they want. --- 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/124#issuecomment-220492410
Received on Friday, 20 May 2016 01:04:42 UTC