<?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>229057</bug_id>
          
          <creation_ts>2021-08-12 15:52:46 -0700</creation_ts>
          <short_desc>[GTK][WPE] Tests media/event-attributes.html and media/video-background-tab-playback.html are flaky after r279499</short_desc>
          <delta_ts>2021-08-12 18:29:11 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=83704</see_also>
          <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="Carlos Alberto Lopez Perez">clopez</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>1783970</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-08-12 15:52:46 -0700</bug_when>
    <thetext>This two tests are flaky after r279499 on GTK and WPE

  media/event-attributes.html [ Pass Failure ]
  media/video-background-tab-playback.html [ Pass Failure ]


The failure they give when they fail (they fail most of the time) is:


--- /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/media/event-attributes-expected.txt
+++ /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/media/event-attributes-actual.txt
@@ -25,13 +25,13 @@
 
 *** seeking
 RUN(video.currentTime = 5.6)
+EVENT(play)
+EVENT(playing)
 EVENT(seeking)
 EVENT(seeked)
 
 *** beginning playback
 RUN(video.play())
-EVENT(play)
-EVENT(playing)
 EVENT(pause)
 EVENT(ended)
 


--- /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/media/video-background-tab-playback-expected.txt
+++ /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/media/video-background-tab-playback-actual.txt
@@ -11,12 +11,6 @@
 ** Simulate switching the tab to background, video should pause.
 RUN(testRunner.setPageVisibility(&apos;hidden&apos;))
 
-EXPECTED (video.paused == &apos;true&apos;) OK
-
-** Simulate switch back to foreground, video should remain paused.
-RUN(internals.applicationWillEnterForeground())
-
-EXPECTED (video.paused == &apos;true&apos;) OK
-
+Video did not pause after switching to backgound. FAIL
 END OF TEST</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784014</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-08-12 18:29:11 -0700</bug_when>
    <thetext>Expectations updated on r281002</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>