[encrypted-media] MediaKeySystemConfiguration returned from MediaKeySystemAccess::getConfiguration() should contain the exact strings from requestMediaKeySystemAccess()

ddorwin has just created a new issue for
https://github.com/w3c/encrypted-media:

== MediaKeySystemConfiguration returned from
MediaKeySystemAccess::getConfiguration() should contain the exact
strings from requestMediaKeySystemAccess() ==
The requestMediaKeySystemAccess() algorithms process
MediaKeySystemConfiguration objects to find supported configurations.
The first supported configuration (subset) is saved in the resulting
MediaKeySystemAccess so that it can be returned by getConfiguration().

The saved configuration is currently based on the results of
processing the original configuration, which might imply that the
strings are generated and thus different from the strings passed to
requestMediaKeySystemAccess().

Instead, the strings should be identical to those provided by the
application. (There may be _less_ strings, but any remaining strings
should be the same.) This will allow applications to always compare
the resulting strings to known strings to, for example, select
appropriate logic or content. Otherwise, user agents might normalize
or otherwise change the strings in a way that breaks applications or
requires additional logic.

See https://github.com/w3c/encrypted-media/issues/12

Received on Tuesday, 13 January 2015 20:35:44 UTC