<?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>22249</bug_id>
          
          <creation_ts>2013-06-03 15:42:17 +0000</creation_ts>
          <short_desc>should setting media.currentTime throw InvalidStateError?</short_desc>
          <delta_ts>2013-08-27 08:55:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>harald</cc>
    
    <cc>public-media-capture</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88575</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-06-03 15:42:17 +0000</bug_when>
    <thetext>The spec currently says that the UA must ignore attempts to set media.currentTime when that media is assigned a mediastream.

But the HTML spec says:
&quot;On setting, if the media element has a current media controller, then the user agent must throw an InvalidStateError exception&quot;
http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#dom-media-currenttime

and a MediaStream assignment is similar on many other aspects to having a media controller, which suggests that trying to set currentTime should throw an InvalidStateError; that&apos;s also what Firefox currently does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92626</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2013-08-27 08:55:54 +0000</bug_when>
    <thetext>Resolved in 20130824 version of MediaCapture.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>