W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

[WEBIDL] nullable dictionary

From: Jungkee Song <jungkee.song@samsung.com>
Date: Wed, 08 Aug 2012 15:46:14 +0900
To: cam@mcc.id.au
Cc: 'WebApps WG' <public-webapps@w3.org>
Message-id: <003b01cd7531$81604630$8420d290$%song@samsung.com>
Hi Cameron,

While reading about "dictionary" from your "Web IDL (Second Edition)" draft,
I found a part that needs clarification:

3.3 Dictionaries
If the Type is an identifier or an identifier followed by ?, then the
identifier must identify an interface, *dictionary*, enumeration, callback
function or typedef.
The spec allows dictionary type to go "nullable" here.

3.10.22 Nullable types
The inner type must not be any, a *dictionary* type, another nullable type,
or a union type that itself has includes a nullable type or has a dictionary
type as one of its flattened member types.
It does not allow "nullable" here.

>From the mail history I looked up, the intention is to not allow nullable
dictionary type any more. It that right?


Jungkee Song
Samsung Electronics
Received on Wednesday, 8 August 2012 06:46:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:37 UTC