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

[Bug 25627] New: Indicate that Key objects have internal state, and that the attributes they expose are reflections of that internal state

From: <bugzilla@jessica.w3.org>
Date: Fri, 09 May 2014 00:41:46 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-25627-7213@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25627

            Bug ID: 25627
           Summary: Indicate that Key objects have internal state, and
                    that the attributes they expose are reflections of
                    that internal state
           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: domenic@domenicdenicola.com, public-webcrypto@w3.org

Raised during the W3C TAG review (
https://github.com/w3ctag/spec-reviews/issues/3 )

The current specification language uses language-violating concepts like
describing how to "set" readonly attributes of interfaces.

Instead of this, the TAG-preferred method is to notate that interfaces, such as
Key, have internal attributes that mirror their external names - eg:
[[algorithm]], [[type]], etc.

Accessing the attribute "algorithm" will return the value of the internal
attribute [[algorithm]]

See, for example, the proposed language in
https://github.com/w3ctag/spec-reviews/issues/3#issuecomment-42093558

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

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