Bug 229057 - [GTK][WPE] Tests media/event-attributes.html and media/video-background-tab-playback.html are flaky after r279499
Summary: [GTK][WPE] Tests media/event-attributes.html and media/video-background-tab-p...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-12 15:52 PDT by Carlos Alberto Lopez Perez
Modified: 2021-08-12 18:29 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2021-08-12 15:52:46 PDT
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('hidden'))
 
-EXPECTED (video.paused == 'true') OK
-
-** Simulate switch back to foreground, video should remain paused.
-RUN(internals.applicationWillEnterForeground())
-
-EXPECTED (video.paused == 'true') OK
-
+Video did not pause after switching to backgound. FAIL
 END OF TEST
Comment 1 Carlos Alberto Lopez Perez 2021-08-12 18:29:11 PDT
Expectations updated on r281002