<?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>136552</bug_id>
          
          <creation_ts>2014-09-04 15:45:51 -0700</creation_ts>
          <short_desc>Fix FIXME&apos;s in JSTrackCustom now that AudioTrack and VideoTrack exist.</short_desc>
          <delta_ts>2014-09-11 08:04:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</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>1</everconfirmed>
          <reporter name="Brendan Long">b.long</reporter>
          <assigned_to name="Brendan Long">b.long</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1033328</commentid>
    <comment_count>0</comment_count>
    <who name="Brendan Long">b.long</who>
    <bug_when>2014-09-04 15:45:51 -0700</bug_when>
    <thetext>Fix FIXME&apos;s in JSTrackCustom not that AudioTrack and VideoTrack exist.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033329</commentid>
    <comment_count>1</comment_count>
      <attachid>237652</attachid>
    <who name="Brendan Long">b.long</who>
    <bug_when>2014-09-04 15:47:18 -0700</bug_when>
    <thetext>Created attachment 237652
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033330</commentid>
    <comment_count>2</comment_count>
    <who name="Brendan Long">b.long</who>
    <bug_when>2014-09-04 15:48:08 -0700</bug_when>
    <thetext>I saw this FIXME while I was working on another patch. I&apos;m not really sure how this code is used though. Is there some way I could test this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033474</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-09-05 09:52:56 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I saw this FIXME while I was working on another patch. I&apos;m not really sure how this code is used though. Is there some way I could test this?

I think toTrack() is only used by JSDictionary::convertValue() currently, and I believe that is only used when MediaStream is enabled so you can&apos;t test it at the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033475</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-09-05 09:58:58 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; I saw this FIXME while I was working on another patch. I&apos;m not really sure how this code is used though. Is there some way I could test this?
&gt; 
&gt; I think toTrack() is only used by JSDictionary::convertValue() currently, and I believe that is only used when MediaStream is enabled so you can&apos;t test it at the moment.

Scratch that, it can also be used for a TrackEvent. But I am still not sure how you would test it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1034437</commentid>
    <comment_count>5</comment_count>
    <who name="Brendan Long">b.long</who>
    <bug_when>2014-09-10 15:32:32 -0700</bug_when>
    <thetext>Sorry, got distracted by some other stuff. Do you think we should apply this fix, or should we wait until we have some way to test it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1034461</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-09-10 16:40:56 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Sorry, got distracted by some other stuff. Do you think we should apply this fix, or should we wait until we have some way to test it?

Why don&apos;t you land it, the new code is obviously better than what we have now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1034603</commentid>
    <comment_count>7</comment_count>
      <attachid>237652</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-11 08:03:56 -0700</bug_when>
    <thetext>Comment on attachment 237652
Patch

Clearing flags on attachment: 237652

Committed r173513: &lt;http://trac.webkit.org/changeset/173513&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1034604</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-11 08:04:00 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>237652</attachid>
            <date>2014-09-04 15:47:18 -0700</date>
            <delta_ts>2014-09-11 08:03:55 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-136552-20140904174712.patch</filename>
            <type>text/plain</type>
            <size>1621</size>
            <attacher name="Brendan Long">b.long</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTczMTgxCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggODYyZTA0ZTRmOWFhOGVl
MTlkYTAzNjg4YmRiMzhmNzk2MTdkZDY4MS4uYWE1NWQwODI3MWI4YWY4NTk5YTE4Y2Q3ZDFiNzBj
YzQ2Mjc0MGQ3MiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEzIEBACisyMDE0LTA5LTA0ICBCcmVu
ZGFuIExvbmcgIDxiLmxvbmdAY2FibGVsYWJzLmNvbT4KKworICAgICAgICBGaXggRklYTUUncyBp
biBKU1RyYWNrQ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