<?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>89720</bug_id>
          
          <creation_ts>2012-06-21 17:31:58 -0700</creation_ts>
          <short_desc>[Chromium] Release media resources after each LayoutTest on Android</short_desc>
          <delta_ts>2012-06-24 09:29:48 -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>New Bugs</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>
          
          <blocked>66687</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Barth">abarth</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>japhet</cc>
    
    <cc>peter</cc>
    
    <cc>tkent</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zhenghao</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>655068</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-21 17:31:58 -0700</bug_when>
    <thetext>[Chromium] Release media resources after each LayoutTest on Android</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655070</commentid>
    <comment_count>1</comment_count>
      <attachid>148922</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-21 17:33:45 -0700</bug_when>
    <thetext>Created attachment 148922
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655128</commentid>
    <comment_count>2</comment_count>
      <attachid>148922</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-06-21 18:34:44 -0700</bug_when>
    <thetext>Comment on attachment 148922
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=148922&amp;action=review

&gt; Tools/DumpRenderTree/chromium/DumpRenderTree.cpp:131
&gt; +    webkit_support::ReleaseMediaResources();

I couldn&apos;t find ReleaseMediaResources() in webkit_support.h r142549.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655550</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-22 10:17:28 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 148922 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=148922&amp;action=review
&gt; 
&gt; &gt; Tools/DumpRenderTree/chromium/DumpRenderTree.cpp:131
&gt; &gt; +    webkit_support::ReleaseMediaResources();
&gt; 
&gt; I couldn&apos;t find ReleaseMediaResources() in webkit_support.h r142549.

We might need to upstream some patches from the chromium-android branch to Chromium first.  /me will investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655619</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-22 11:11:41 -0700</bug_when>
    <thetext>@tkent: You&apos;re totally right.  I&apos;m going to figure out how big that iceberg is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655863</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-22 15:53:03 -0700</bug_when>
    <thetext>Chromium CL: https://chromiumcodereview.appspot.com/10664003/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655869</commentid>
    <comment_count>6</comment_count>
      <attachid>148922</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-06-22 15:59:42 -0700</bug_when>
    <thetext>Comment on attachment 148922
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=148922&amp;action=review

&gt;&gt;&gt; Tools/DumpRenderTree/chromium/DumpRenderTree.cpp:131
&gt;&gt;&gt; +    webkit_support::ReleaseMediaResources();
&gt;&gt; 
&gt;&gt; I couldn&apos;t find ReleaseMediaResources() in webkit_support.h r142549.
&gt; 
&gt; We might need to upstream some patches from the chromium-android branch to Chromium first.  /me will investigate.

Should we move this to resetTestController?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655872</commentid>
    <comment_count>7</comment_count>
      <attachid>148922</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-22 16:02:06 -0700</bug_when>
    <thetext>Comment on attachment 148922
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=148922&amp;action=review

&gt;&gt;&gt;&gt; Tools/DumpRenderTree/chromium/DumpRenderTree.cpp:131
&gt;&gt;&gt;&gt; +    webkit_support::ReleaseMediaResources();
&gt;&gt;&gt; 
&gt;&gt;&gt; I couldn&apos;t find ReleaseMediaResources() in webkit_support.h r142549.
&gt;&gt; 
&gt;&gt; We might need to upstream some patches from the chromium-android branch to Chromium first.  /me will investigate.
&gt; 
&gt; Should we move this to resetTestController?

Sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655985</commentid>
    <comment_count>8</comment_count>
      <attachid>149153</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-22 18:34:48 -0700</bug_when>
    <thetext>Created attachment 149153
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655986</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-22 18:35:14 -0700</bug_when>
    <thetext>This should be ready to land once Bug 89800 lands.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>656176</commentid>
    <comment_count>10</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-24 00:59:51 -0700</bug_when>
    <thetext>*** Bug 66230 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>656189</commentid>
    <comment_count>11</comment_count>
      <attachid>149153</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-06-24 01:59:18 -0700</bug_when>
    <thetext>Comment on attachment 149153
Patch

Bug 89800 has landed.  This patch is ready for review/landing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>656211</commentid>
    <comment_count>12</comment_count>
      <attachid>149153</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-24 09:29:43 -0700</bug_when>
    <thetext>Comment on attachment 149153
Patch

Clearing flags on attachment: 149153

Committed r121118: &lt;http://trac.webkit.org/changeset/121118&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>656212</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-24 09:29:48 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>148922</attachid>
            <date>2012-06-21 17:33:45 -0700</date>
            <delta_ts>2012-06-22 18:34:42 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-89720-20120621173345.patch</filename>
            <type>text/plain</type>
            <size>1494</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDEyMDk4MykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE5IEBACisyMDEyLTA2LTIxICBBZGFtIEJhcnRoICA8YWJhcnRoQHdlYmtpdC5vcmc+CisK
KyAgICAgICAgW0Nocm9taXVtXSBSZWxlYXNlIG1lZ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W1w
UmVuZGVyVHJlZS5jcHAJKHJldmlzaW9uIDEyMDk3OCkKKysrIFRvb2xzL0R1bXBSZW5kZXJUcmVl
L2Nocm9taXVtL0R1bXBSZW5kZXJUcmVlLmNwcAkod29ya2luZyBjb3B5KQpAQCAtMTI2LDYgKzEy
NiwxMCBAQCBzdGF0aWMgdm9pZCBydW5UZXN0KFRlc3RTaGVsbCYgc2hlbGwsIFRlCiAgICAgICBz
aGVsbC5ydW5GaWxlVGVzdChwYXJhbXMpOwogICAgIH0KICAgICBzaGVsbC5zZXRMYXlvdXRUZXN0
VGltZW91dChvbGRUaW1lb3V0TXNlYyk7CisjaWYgT1MoQU5EUk9JRCkKKyAgICAvLyBNZWRpYSBy
ZXNvdXJjZXMgYXJlIGxpbWl0ZWQgb24gQW5kcm9pZC4KKyAgICB3ZWJraXRfc3VwcG9ydDo6UmVs
ZWFzZU1lZGlhUmVzb3VyY2VzKCk7CisjZW5kaWYKIH0KIAogaW50IG1haW4oaW50IGFyZ2MsIGNo
YXIqIGFyZ3ZbXSkK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>149153</attachid>
            <date>2012-06-22 18:34:48 -0700</date>
            <delta_ts>2012-06-24 09:29:43 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-89720-20120622183450.patch</filename>
            <type>text/plain</type>
            <size>1646</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTIxMDgzCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZTZhMTQyMzAzYjRhNzVlMDk1OTM2NzRiZjgzMDAwN2Rm
OWNlYmJiOC4uZGEwMjA5ODMzZjcxZTUyOTM0ODg0ZTBkMGVkYzkxYjRiNWVhNGEzMCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb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