<?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>135081</bug_id>
          
          <creation_ts>2014-07-18 19:03:47 -0700</creation_ts>
          <short_desc>[iOS] ignore requests to set volume</short_desc>
          <delta_ts>2014-07-20 09:46:51 -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="Eric Carlson">eric.carlson</reporter>
          <assigned_to name="Eric Carlson">eric.carlson</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>glenn</cc>
    
    <cc>jer.noble</cc>
    
    <cc>philipj</cc>
    
    <cc>sergio</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1023424</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-07-18 19:03:47 -0700</bug_when>
    <thetext>The iOS media player should ignore requests to change volume.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023425</commentid>
    <comment_count>1</comment_count>
      <attachid>235164</attachid>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-07-18 19:09:52 -0700</bug_when>
    <thetext>Created attachment 235164
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023437</commentid>
    <comment_count>2</comment_count>
      <attachid>235164</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-18 22:26:08 -0700</bug_when>
    <thetext>Comment on attachment 235164
Proposed patch

Clearing flags on attachment: 235164

Committed r171259: &lt;http://trac.webkit.org/changeset/171259&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023438</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-18 22:26:11 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023497</commentid>
    <comment_count>4</comment_count>
      <attachid>235164</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2014-07-19 22:38:21 -0700</bug_when>
    <thetext>Comment on attachment 235164
Proposed patch

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

&gt; Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1113
&gt; +#if PLATFORM(IOS)
&gt; +    return;
&gt; +#endif

This is a peculiar way to do it. In the many cases like this one we compile out the code rather than adding a return and leaving unreachable code after the return like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023530</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2014-07-20 09:46:51 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 235164 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=235164&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1113
&gt; &gt; +#if PLATFORM(IOS)
&gt; &gt; +    return;
&gt; &gt; +#endif
&gt; 
&gt; This is a peculiar way to do it. In the many cases like this one we compile out the code rather than adding a return and leaving unreachable code after the return like this.

Good point. Fixed in r171279: http://trac.webkit.org/changeset/171279</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>235164</attachid>
            <date>2014-07-18 19:09:52 -0700</date>
            <delta_ts>2014-07-19 22:38:21 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>patch_1.txt</filename>
            <type>text/plain</type>
            <size>1323</size>
            <attacher name="Eric Carlson">eric.carlson</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE3MTI1NykKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDE0LTA3LTE4ICBFcmljIENh
cmxzb24gIDxlcmljLmNhcmxzb25AYXBwbGUuY29tPgorCisgICAgICAgIFtpT1NdIGlnbm9yZSBy
ZXF1ZXN0cyB0byBzZXQgdm9sdW1lCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3No
b3dfYnVnLmNnaT9pZD0xMzUwODEKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMh
KS4KKworICAgICAgICAqIHBsYXRmb3JtL2dyYXBoaWNzL2F2Zm91bmRhdGlvbi9vYmpjL01lZGlh
UGxheWVyUHJpdmF0ZUFWRm91bmRhdGlvbk9iakMubW06CisgICAgICAgIChXZWJDb3JlOjpNZWRp
YVBsYXllclByaXZhdGVBVkZvdW5kYXRpb25PYmpDOjpzZXRWb2x1bWUpOiBEbyBub3RoaW5nIG9u
IGlPUy4KKwogMjAxNC0wNy0xOCAgQW5keSBFc3RlcyAgPGFlc3Rlc0BhcHBsZS5jb20+CiAKICAg
ICAgICAgW2lPU10gVGFwcGluZyAiQWxsb3cgV2Vic2l0ZSIgb24gYSByZXN0cmljdGVkIHBhZ2Ug
ZG9lcyBub3QgYnJpbmcgdXAgdGhlIGtleXBhZApJbmRleDogU291cmNlL1dlYkNvcmUvcGxhdGZv
cm0vZ3JhcGhpY3MvYXZmb3VuZGF0aW9uL29iamMvTWVkaWFQbGF5ZXJQcml2YXRlQVZGb3VuZGF0
aW9uT2JqQy5tbQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2ViQ29yZS9wbGF0Zm9ybS9ncmFwaGlj
cy9hdmZvdW5kYXRpb24vb2JqYy9NZWRpYVBsYXllclByaXZhdGVBVkZvdW5kYXRpb25PYmpDLm1t
CShyZXZpc2lvbiAxNzExMTUpCisrKyBTb3VyY2UvV2ViQ29yZS9wbGF0Zm9ybS9ncmFwaGljcy9h
dmZvdW5kYXRpb24vb2JqYy9NZWRpYVBsYXllclByaXZhdGVBVkZvdW5kYXRpb25PYmpDLm1tCSh3
b3JraW5nIGNvcHkpCkBAIC0xMTA4LDYgKzExMDgsMTAgQEAgdm9pZCBNZWRpYVBsYXllclByaXZh
dGVBVkZvdW5kYXRpb25PYmpDOgogCiB2b2lkIE1lZGlhUGxheWVyUHJpdmF0ZUFWRm91bmRhdGlv
bk9iakM6OnNldFZvbHVtZShmbG9hdCB2b2x1bWUpCiB7CisjaWYgUExBVEZPUk0oSU9TKQorICAg
IHJldHVybjsKKyNlbmRpZgorCiAgICAgaWYgKCFtZXRhRGF0YUF2YWlsYWJsZSgpKQogICAgICAg
ICByZXR1cm47CiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>