[Bug 26866] New: Add "required" to dictionary members; drop

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26866

            Bug ID: 26866
           Summary: Add "required" to dictionary members; drop
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: rlb@ipv.sx
                CC: public-webcrypto@w3.org

Currently, the various dictionaries used by WebCrypto mark members as nullable
("?") when they are not required, and required members are unadorned.  This is
backwards, since dictionary members are optional by default.

Instead, the dictionaries need to mark required elements with the new WebIDL
"required" keyword, and optional elements should be unadorned.  This will
enable the WebIDL layer to reject dictionaries with missing required members,
and non-required members will have to be considered nullable.

http://dev.w3.org/2006/webapi/WebIDL/#idl-dictionaries

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 19 September 2014 19:57:27 UTC