Bug 148597 - [Mac] http/tests/media/video-play-stall.html is flakey
Summary: [Mac] http/tests/media/video-play-stall.html is flakey
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac All
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-28 15:53 PDT by Andy Estes
Modified: 2021-03-11 12:17 PST (History)
9 users (show)

See Also:


Attachments
Patch (3.34 KB, patch)
2021-03-11 11:13 PST, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2015-08-28 15:53:42 PDT
http/tests/media/video-play-stall.html occasionally fails with the following diff on Mavericks (WK1 and WK2):

--- /Volumes/Data/slave/mavericks-release-tests-wk2/build/layout-test-results/http/tests/media/video-play-stall-expected.txt
+++ /Volumes/Data/slave/mavericks-release-tests-wk2/build/layout-test-results/http/tests/media/video-play-stall-actual.txt
@@ -4,11 +4,9 @@
 EVENT(durationchange)
 EVENT(loadedmetadata)
 EVENT(loadeddata)
-EVENT(canplay)
-RUN(video.play())
 EVENT(stalled)
-EXPECTED (video.currentTime != '0') OK
+EXPECTED (video.currentTime != '0'), OBSERVED '0' FAIL
 EXPECTED (video.playbackRate === '1') OK
-EXPECTED (video.paused === 'false') OK
+EXPECTED (video.paused === 'false'), OBSERVED 'true' FAIL
 END OF TEST
 
See https://build.webkit.org/results/Apple%20Mavericks%20Release%20WK2%20(Tests)/r189124%20(16768)/results.html for an example of this.
Comment 1 Radar WebKit Bug Importer 2015-08-28 15:54:50 PDT
<rdar://problem/22484300>
Comment 2 Andy Estes 2015-08-28 15:55:21 PDT
Oh, it's flakey on Yosemite too.
Comment 3 Andy Estes 2015-08-28 16:01:30 PDT
Marked as flakey in r189131: http://trac.webkit.org/changeset/189131
Comment 4 Alexey Proskuryakov 2015-08-28 23:41:07 PDT
A Yosemite failure:

@@ -1,14 +1,9 @@
 
 Test that a stalled event is sent when media loading stalls.
 
-EVENT(durationchange)
-EVENT(loadedmetadata)
-EVENT(loadeddata)
-EVENT(canplay)
-RUN(video.play())
 EVENT(stalled)
-EXPECTED (video.currentTime != '0') OK
+EXPECTED (video.currentTime != '0'), OBSERVED '0' FAIL
 EXPECTED (video.playbackRate === '1') OK
-EXPECTED (video.paused === 'false') OK
+EXPECTED (video.paused === 'false'), OBSERVED 'true' FAIL
 END OF TEST
Comment 5 Eric Carlson 2021-03-11 11:13:30 PST
Created attachment 422948 [details]
Patch
Comment 6 EWS 2021-03-11 12:17:15 PST
Committed r274292: <https://commits.webkit.org/r274292>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 422948 [details].