Bug 226520

Summary: [MacOS] media/video-played-collapse.html is flaky timeout and failure
Product: WebKit Reporter: Amir Mark Jr <amir_mark>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: jean-yves.avenard, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Amir Mark Jr 2021-06-01 17:55:14 PDT
media/video-played-collapse.html 

Is a flaky timeout on Big Sur Wk1 Release and WK1 Apple Silicon Release, Catalina Wk1 release and debug

It is also failing on Big Sur Wk1 Release, Wk1 Apple Silicon Release, Big Sur Wk2 Release, Big Sur Wk2 Debug, Catalina Wk2 Debug


History:

https://results.webkit.org/?suite=layout-tests&test=media%2Fvideo-played-collapse.html


Text Diff:

--- /Volumes/Data/worker/bigsur-release-tests-wk1/build/layout-test-results/media/video-played-collapse-expected.txt
+++ /Volumes/Data/worker/bigsur-release-tests-wk1/build/layout-test-results/media/video-played-collapse-actual.txt
@@ -1,3 +1,5 @@
+CONSOLE MESSAGE: IndexSizeError: The index is not in the allowed range.
+FAIL: Timed out waiting for notifyDone to be called
 
 Test of the media element 'played' attribute
 
@@ -11,40 +13,9 @@
 RUN(handlePromise(video.play()))
 RUN(video.pause())
 EVENT(pause)
-Test 2 OK
-Test 3 OK
-Test 4 OK
+EXPECTED (video.played.length == '1'), OBSERVED '0' FAIL
+IndexSizeError: The index is not in the allowed range.
+IndexSizeError: The index is not in the allowed range.
 
 Create a new range
-EVENT(seeked)
-RUN(handlePromise(video.play()))
-RUN(video.pause())
-EVENT(pause)
-Test 5 OK
-Test 6 OK
-Test 7 OK
-Test 8 OK
-Test 9 OK
 
-Test playing from one range into another, should collapse the two ranges
-EVENT(seeked)
-RUN(handlePromise(video.play()))
-RUN(video.pause())
-EVENT(pause)
-Test 10 OK
-Test 11 OK
-Test 12 OK
-
-Test looping
-RUN(video.loop = true)
-EVENT(seeked)
-RUN(handlePromise(video.play()))
-RUN(video.pause())
-EVENT(pause)
-Test 13 OK
-Test 14 OK
-Test 15 OK
-Test 16 OK
-Test 17 OK
-END OF TEST
-
Comment 1 Radar WebKit Bug Importer 2021-06-01 17:56:00 PDT
<rdar://problem/78741204>
Comment 2 Amir Mark Jr 2021-06-02 17:10:58 PDT
Updated test expectations:

https://trac.webkit.org/changeset/278388/webkit
Comment 3 Jean-Yves Avenard [:jya] 2024-04-19 01:44:33 PDT
fixed in 238771