<?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>140287</bug_id>
          
          <creation_ts>2015-01-09 00:53:57 -0800</creation_ts>
          <short_desc>[Regression] [GStreamer] Video player sets system volume to 100%</short_desc>
          <delta_ts>2015-07-08 07:13:05 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=145609</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=140358</see_also>
          <bug_file_loc>http://www.w3.org/2010/05/video/mediaevents.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xabier Rodríguez Calvar">calvaris</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adachan</cc>
    
    <cc>allan.jensen</cc>
    
    <cc>bugzilla</cc>
    
    <cc>calvaris</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eocanha</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>glenn</cc>
    
    <cc>gustavo</cc>
    
    <cc>jer.noble</cc>
    
    <cc>jonathon</cc>
    
    <cc>menard</cc>
    
    <cc>mrobinson</cc>
    
    <cc>patrakov</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1060099</commentid>
    <comment_count>0</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2015-01-09 00:53:57 -0800</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #118974 +++

+++ This bug was initially created as a clone of Bug #54140 +++

This is back as a consequence of fixing bug 137305. I guess this time we should end up creating a test so that this doesn&apos;t regress anymore.

The proper fix would be reverting my original patch and fix it by using the new Browsers API at Pulseaudio but for that we need to have it implemented there and adapted in GStreamer, so I guess we&apos;ll have to fix this the same way again without breaking bug 137305. We&apos;d appreciate if Ada could provide info about which test covers her fix so that we ensure we don&apos;t break anything again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1060116</commentid>
    <comment_count>1</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2015-01-09 03:17:13 -0800</bug_when>
    <thetext>This is being talked in Epiphany&apos;s bugzilla at https://bugzilla.gnome.org/show_bug.cgi?id=675217</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1060142</commentid>
    <comment_count>2</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2015-01-09 08:43:15 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; +++ This bug was initially created as a clone of Bug #118974 +++
&gt; 
&gt; +++ This bug was initially created as a clone of Bug #54140 +++
&gt; 
&gt; This is back as a consequence of fixing bug 137305. I guess this time we
&gt; should end up creating a test so that this doesn&apos;t regress anymore.
&gt; 
&gt; The proper fix would be reverting my original patch and fix it by using the
&gt; new Browsers API at Pulseaudio but for that we need to have it implemented
&gt; there and adapted in GStreamer, so I guess we&apos;ll have to fix this the same
&gt; way again without breaking bug 137305. We&apos;d appreciate if Ada could provide
&gt; info about which test covers her fix so that we ensure we don&apos;t break
&gt; anything again.

The original change broke a WebKitAPI test, which I don&apos;t believe are run as a part of normal EWS or post-commit tests.  But they can be run manually with: `run-api-tests WebKit2.WKPageIsPlayingAudio`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1060170</commentid>
    <comment_count>3</comment_count>
    <who name="Ada Chan">adachan</who>
    <bug_when>2015-01-09 10:29:17 -0800</bug_when>
    <thetext>There is no layout test for https://bugs.webkit.org/show_bug.cgi?id=137305, since there&apos;s no simple way to test whether the page has really been muted.

The way I tested the fix for https://bugs.webkit.org/show_bug.cgi?id=137305 was just with this simple html page:

&lt;div id=target style=&quot;border: solid;&quot;&gt;
    &lt;video src=&quot;http://movies.apple.com/movies/us/apple/ipoditunes/2007/touch/ads/apple_ipodtouch_touch_r640-9cie.mov&quot; autoplay controls&gt;&lt;/video&gt;
&lt;/div&gt;

And then call WKPageSetMuted(pageRef, true) and make sure the page is indeed silent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1060559</commentid>
    <comment_count>4</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2015-01-12 07:45:53 -0800</bug_when>
    <thetext>I couldn&apos;t reproduce the bug so I am closing it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>