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

[Bug 25594] New: The read-only attribute usableKeyIds cannot be variable length

From: <bugzilla@jessica.w3.org>
Date: Wed, 07 May 2014 23:06:51 +0000
To: public-html-media@w3.org
Message-ID: <bug-25594-5436@http.www.w3.org/Bugs/Public/>

            Bug ID: 25594
           Summary: The read-only attribute usableKeyIds cannot be
                    variable length
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: ddorwin@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

The spec currently has the following IDL definition:
  readonly attribute Array<Uint8Array> usableKeyIds;

However, http://www.w3.org/TR/WebIDL/#idl-array says "If an array is read only,
then it is also implicitly fixed length."

The intent was for usableKeyIds to be an always up-to-date list of available
key IDs. Thus, the application should not be able to modify it.

We might need to convert the attribute to a method that returns a fixed length
  Array<Uint8Array> getUsableKeyIds();

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 7 May 2014 23:06:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:33:03 UTC