<?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>25900</bug_id>
          
          <creation_ts>2014-05-28 01:09:10 +0000</creation_ts>
          <short_desc>[EME] MediaKeys.loadSession(sessionId) should specify what happens if a loaded sessionId is passed</short_desc>
          <delta_ts>2014-06-13 22:13:56 +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>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="Chris Pearce">cpearce</reporter>
          <assigned_to name="David Dorwin">ddorwin</assigned_to>
          <cc>bzbarsky</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>106875</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Pearce">cpearce</who>
    <bug_when>2014-05-28 01:09:10 +0000</bug_when>
    <thetext>MediaKeys.loadSession(sessionId) does not specify what happens if a loaded sessionId is passed in. I&apos;m guess we should either return the already loaded session&apos;s MediaKeySession object, or return a rejected promise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107008</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2014-05-29 21:40:37 +0000</bug_when>
    <thetext>We may want to resolve the promise with null, as happens when createSession() is called with Initialization Data matching an existing session.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107817</commentid>
    <comment_count>2</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2014-06-13 22:13:56 +0000</bug_when>
    <thetext>Fixed in https://dvcs.w3.org/hg/html-media/rev/85aebacf35c8. null is returned like in the createSession() case.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>