<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16737</bug_id>
          
          <creation_ts>2012-04-13 22:06:37 +0000</creation_ts>
          <short_desc>Should MEDIA_KEYERR_CLIENT be two separate errors?</short_desc>
          <delta_ts>2013-04-23 17:48:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Encrypted Media Extensions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>21798</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Dorwin">ddorwin</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-media</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>steele</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66713</commentid>
    <comment_count>0</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-04-13 22:06:37 +0000</bug_when>
    <thetext>v0.1 says that MEDIA_KEYERR_CLIENT means &quot;The Key System could not be installed or updated.&quot; [1] Is there a reason that applications might need to differentiate between the install and update cases?

[1] http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#dom-media_keyerr_client</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71132</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-07-18 23:08:16 +0000</bug_when>
    <thetext>Is there a third case for &quot;could not be loaded&quot; or something similar? If so, we should either add this text or consider another error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72931</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2012-08-28 21:12:51 +0000</bug_when>
    <thetext>Assigned to Adrian to follow-up with MSFT team on how to use this error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73191</commentid>
    <comment_count>3</comment_count>
    <who name="Joe Steele">steele</who>
    <bug_when>2012-09-04 19:49:58 +0000</bug_when>
    <thetext>There is a reason applications might want to differentiate between the install and update cases. In the update case, the application may be able to access alternate content of lesser value that does not require an updated CDM. With the ability to distinguish between these two cases, the application can make the choice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85324</commentid>
    <comment_count>4</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2013-04-01 20:28:04 +0000</bug_when>
    <thetext>There might be other &quot;client&quot; errors, such as the CDM is disabled or failed to load. Those seem different from not being able to install or update the CDM. This could fall under MEDIA_KEYERR_CLIENT (with a modified description), but if we break that up, we may need more for disabled or failed case(s).

Separately, what does install/update mean in practice? CDMs won&apos;t be installed in response to createSession(), right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86573</commentid>
    <comment_count>5</comment_count>
    <who name="Joe Steele">steele</who>
    <bug_when>2013-04-23 16:54:47 +0000</bug_when>
    <thetext>&gt; Separately, what does install/update mean in practice? CDMs won&apos;t be
&gt; installed in response to createSession(), right?

I think that loading/installing of CDMs should be allowed. Given that, createSession() would be a reasonable time to do it, since the app has indicated a clear intention to use it. This seems like the first time that is true. 

Re: differentiating between install and update --

If the keysystem name is used to track versions of the keysystem (as seemed to be the original intent) distinction is possible by leveraging that mechanism. Are we still intending for keysystem to be used that way?

So an app could ask for com.adobe.access.v5 and if it gets back MEDIA_KEYERR_CLIENT, it can then ask for com.adobe.access.v4, com.adobe.access.v3, etc. That seems reasonable to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86586</commentid>
    <comment_count>6</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2013-04-23 17:48:35 +0000</bug_when>
    <thetext>We will address this as part of bug 21798.

*** This bug has been marked as a duplicate of bug 21798 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>