<?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>19805</bug_id>
          
          <creation_ts>2012-10-31 22:11:15 +0000</creation_ts>
          <short_desc>Restriction to only use initData in createSession is too restrictive</short_desc>
          <delta_ts>2013-04-24 22:35:13 +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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joe Steele">steele</reporter>
          <assigned_to name="David Dorwin">ddorwin</assigned_to>
          <cc>adrianba</cc>
    
    <cc>ddorwin</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</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>77587</commentid>
    <comment_count>0</comment_count>
    <who name="Joe Steele">steele</who>
    <bug_when>2012-10-31 22:11:15 +0000</bug_when>
    <thetext>I would like to see this note removed from the createSession() method --

&quot;Note: cdm must not use any data, including media data, not provided via initData.&quot; 

This is too restrictive, since the CDM may do things like signing the key request with an embedded key, which would add data not provided by initData.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77604</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-10-31 22:43:06 +0000</bug_when>
    <thetext>This was intended to refer to media data or any other media/stream-specific values. The intent is that all media-identifying values used to create a license should be available in the needkey event and could be constructed by the application without relying on the stream.

This intent seems independent of your use case. I think s/data/media data/ would address both concerns. What do you think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77608</commentid>
    <comment_count>2</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-10-31 22:51:39 +0000</bug_when>
    <thetext>Oops, that replacement doesn&apos;t make sense. How about this?

&quot;Note: cdm must not use any stream-specific data, including media data, not provided via initData.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77682</commentid>
    <comment_count>3</comment_count>
    <who name="Joe Steele">steele</who>
    <bug_when>2012-11-01 16:04:03 +0000</bug_when>
    <thetext>That text is much better. Now I understand the intent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77685</commentid>
    <comment_count>4</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-11-01 16:45:29 +0000</bug_when>
    <thetext>Will update in a future edit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86743</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2013-04-24 22:35:13 +0000</bug_when>
    <thetext>Fixed -&gt; https://dvcs.w3.org/hg/html-media/rev/70e0d6713156</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>