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

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

            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:
  Array<Uint8Array> getUsableKeyIds();

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 7 May 2014 23:06:56 UTC