W3C home > Mailing lists > Public > public-webcrypto@w3.org > May 2014

[Bug 25626] New: Convert the various KeyAlgorithm interfaces into Dictionaries

From: <bugzilla@jessica.w3.org>
Date: Fri, 09 May 2014 00:38:37 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-25626-7213@http.www.w3.org/Bugs/Public/>

            Bug ID: 25626
           Summary: Convert the various KeyAlgorithm interfaces into
           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: sleevi@google.com
                CC: public-webcrypto@w3.org

Raised during the W3C TAG review -

This is an artifact of Bug 24657 and Bug 24767. The notion of KeyAlgorithm as
an interface introduces inappropriate complexity into the language - and the
[NoInterfaceObject] annotation is insufficient to hide it.

Rather than treating KeyAlgorithm (and derived) as Interfaces, convert them to
a Dictionary within the specification.

Further, to avoid the WebIDL restriction that "dictionaries cannot be
attributes of an interface" (See http://heycam.github.io/webidl/#idl-attributes
), the specification should dictate that the IDL Dictionaries are converted to
ES objects, as defined in http://heycam.github.io/webidl/#es-dictionary

This implicitly will make the KeyPair interface structured clonable (because
the members - Key objects - are clonable), as well as ensure that KeyAlgorithm
objects themselves can be cloned via structured clone (a spec omission at this

You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 9 May 2014 00:38:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:22 UTC