<?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>201266</bug_id>
          
          <creation_ts>2019-08-28 18:20:17 -0700</creation_ts>
          <short_desc>[GTK] audio-playback-restriction tests failing</short_desc>
          <delta_ts>2021-07-02 03:45: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>WebKitGTK</component>
          <version>WebKit 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>
          <dependson>83704</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alicia Boya García">aboya</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1566026</commentid>
    <comment_count>0</comment_count>
    <who name="Alicia Boya García">aboya</who>
    <bug_when>2019-08-28 18:20:17 -0700</bug_when>
    <thetext>media/audio-playback-restriction-autoplay.html
media/audio-playback-restriction-play-muted.html
media/audio-playback-restriction-play.html

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-autoplay-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-autoplay-actual.txt
@@ -5,6 +5,6 @@
 RUN(video.src = findMediaFile(&apos;audio&apos;, &apos;content/test&apos;))
 EVENT(canplaythrough)
 RUN(setTimeout(timeout, 100))
-EXPECTED (video.paused == &apos;true&apos;) OK
+EXPECTED (video.paused == &apos;true&apos;), OBSERVED &apos;false&apos; FAIL
 END OF TEST
 

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-play-muted-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-play-muted-actual.txt
@@ -7,6 +7,6 @@
 RUN(video.play())
 EVENT(playing)
 RUN(video.muted = false)
-EVENT(pause)
+FAIL: did not end fast enough
 END OF TEST
 

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-play-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-play-actual.txt
@@ -5,7 +5,7 @@
 RUN(video.src = findMediaFile(&apos;audio&apos;, &apos;content/test&apos;))
 EVENT(canplaythrough)
 RUN(handlePromise(video.play()))
-EXPECTED (video.paused == &apos;true&apos;) OK
+EXPECTED (video.paused == &apos;true&apos;), OBSERVED &apos;false&apos; FAIL
 Running with keyDown.
 RUN(video.play())
 EXPECTED (video.paused == &apos;false&apos;) OK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1578198</commentid>
    <comment_count>1</comment_count>
    <who name="Alicia Boya García">aboya</who>
    <bug_when>2019-10-09 05:31:58 -0700</bug_when>
    <thetext>All these are flaky.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1768085</commentid>
    <comment_count>2</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2021-06-09 00:20:57 -0700</bug_when>
    <thetext>The only test filed under this bug was:

  - media/audio-playback-restriction-play-muted.html

GTK post-commit test bot reports the test has been failing consistently for the last 4000 revisions.

Diff:

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-play-muted-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/media/audio-playback-restriction-play-muted-actual.txt
@@ -7,6 +7,6 @@
 RUN(video.play())
 EVENT(playing)
 RUN(video.muted = false)
-EVENT(pause)
+FAIL: did not end fast enough
 END OF TEST</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1774409</commentid>
    <comment_count>3</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2021-07-02 03:45:00 -0700</bug_when>
    <thetext>Fixed in bug 83704.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>