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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>78773</bug_id>
          
          <creation_ts>2012-02-15 19:27:02 -0800</creation_ts>
          <short_desc>MediaStream API: enhance the implementaion of MediaStreamTrack::setEnabled</short_desc>
          <delta_ts>2012-02-21 12:10:40 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit API</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>0</everconfirmed>
          <reporter name="William Lin">wei.a.lin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>tommyw</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>557838</commentid>
    <comment_count>0</comment_count>
    <who name="William Lin">wei.a.lin</who>
    <bug_when>2012-02-15 19:27:02 -0800</bug_when>
    <thetext>in current implementaion of MediaStreamTrack::setEnabled, 
whether or no the MediaStream is live, the track enable/disable setting operation will be called via didSetMediaStreamTrackEnabled().
Actually, if MediaStream is finished, above operation can be ignored.
please notice, the status of MediaStreamTrack can be set regardless of MediaStream&apos; status.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>557849</commentid>
    <comment_count>1</comment_count>
      <attachid>127299</attachid>
    <who name="William Lin">wei.a.lin</who>
    <bug_when>2012-02-15 19:44:48 -0800</bug_when>
    <thetext>Created attachment 127299
Patch

add a patch for review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560561</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-02-20 19:44:08 -0800</bug_when>
    <thetext>@tommyw: Thoughts on this patch?

Ideally we would test this change as well.  Tommy is working on a test framework for this code, which might be helpful.

@lin: Please mark your patches &quot;review?&quot; when you&apos;d like them reviewed.  That makes the show up in all the appropriate queues.  Thanks for the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560726</commentid>
    <comment_count>3</comment_count>
    <who name="Tommy Widenflycht">tommyw</who>
    <bug_when>2012-02-21 00:44:50 -0800</bug_when>
    <thetext>The patch looks like a reasonable thing to do.

And fyi, I&apos;ll be sending out two more patches for the test framework later today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>561023</commentid>
    <comment_count>4</comment_count>
      <attachid>127299</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-02-21 10:51:45 -0800</bug_when>
    <thetext>Comment on attachment 127299
Patch

I&apos;m tempted to say we should hold off on this patch until the testing framework lands, but I don&apos;t want to hold your change hostage.  Hopefully we&apos;ll get Tommy the necessary reviews for the testing framework shortly and we&apos;ll have it ready for your future patches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>561115</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-21 12:08:29 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 127299:

storage/indexeddb/index-basics.html bug 79138 (authors: dgrogan@chromium.org and jsbell@chromium.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>561119</commentid>
    <comment_count>6</comment_count>
      <attachid>127299</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-21 12:10:36 -0800</bug_when>
    <thetext>Comment on attachment 127299
Patch

Clearing flags on attachment: 127299

Committed r108383: &lt;http://trac.webkit.org/changeset/108383&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>561120</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-02-21 12:10:40 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>127299</attachid>
            <date>2012-02-15 19:44:48 -0800</date>
            <delta_ts>2012-02-21 12:10:36 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>MediaStreamTrack_setEnabled.patch</filename>
            <type>text/plain</type>
            <size>1361</size>
            <attacher name="William Lin">wei.a.lin</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDEwNzg1OSkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE3IEBACisyMDEyLTAyLTE2ICBMaW4gV2Vp
ICA8d2VpLmEubGluQGludGVsLmNvbT4KKworICAgICAgICBGaXggYnVnIGZyb20gcjEwNzY3Mi4K
KyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTc4NzczCisK
KyAgICAgICAgQmVmb3JlIHNldCBNZWRpYVN0cmVhbVRyYWNrIGRpc2FibGUvZW5hYmxlIG9wZXJh
dGlvbiwKKyAgICAgICAgY2hlY2tpbmcgdGhlIHN0YXR1cyBvZiBNZWRpYVN0cmVhbSB0aGF0IGNv
bnRhaW5zIHRoa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pYVN0cmVhbVRyYWNrRW5hYmxlZCht
X3N0cmVhbURlc2NyaXB0b3IuZ2V0KCksIG1fY29tcG9uZW50LmdldCgpKTsKIH0KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>