[Bug 20798] New: keySystem strings should be compared case-sensitively

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

            Bug ID: 20798
           Summary: keySystem strings should be compared case-sensitively
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: adrianba@microsoft.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

In general, key system [1] strings will commonly be described using lower-case
(following the reverse domain name convention). We propose that any matching
against key system should be done case sensitively to avoid having to define
interoperable case-handling rules and to simplify coding. This will usually
mean simply always specifying strings in lower case.

This will be important for the isTypeSupported method [2] and the keystem
source attribute [3].


[1]
https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#key-system
[2]
https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#dom-istypesupported
[3]
https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#dom-sourcekeysystem

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 29 January 2013 05:03:02 UTC