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

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