[Bug 26776] Diagnosing and resolving CDM errors needs a numeric systemCode (deleted with MediaKeyError)

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

--- Comment #28 from Jerry Smith <jdsmith@microsoft.com> ---
It seems like it would be sufficient to have a systemCode attribute attached to
either MediaKeySession or MediaKeys.  I recommend using MediaKeySession since
it has other playback attributes related to the current playback activity (e.g.
expiration and MediaKeyStatusMap).

It is true that multiple systemCodes might occur, suggesting a Sequence of
values might be most flexible; however, for telemetry uses, a single value
seems like it would meet a large majority of all needs.

A numeric code still is our preference, suggesting we add this to
MediaKeySession:

  readonly attribute unsigned long systemCode;

I agree that some language could be added that discouraged using this attribute
to trigger site behavior changes.  Given that it is not directly supported by
an event and is limited to one value at a time, the risk of misusing it seems
like it would be very low anyway.

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

Received on Tuesday, 31 March 2015 01:11:49 UTC