fast/mediastream/mediaElement-gc.html Is a flaky failure on iOS 15 Release. History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2FmediaElement-gc.html Result page: https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-WK2-Tests/r283979%20(142)/results.html# Diff: --- /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/fast/mediastream/mediaElement-gc-expected.txt +++ /Volumes/Data/worker/ios-simulator-15-release-tests-wk2/build/layout-test-results/fast/mediastream/mediaElement-gc-actual.txt @@ -1,4 +1,4 @@ PASS Keep alive a video element with a live srcObject -PASS GC a video element with a live srcObject, then srcObject set to null +FAIL GC a video element with a live srcObject, then srcObject set to null assert_true: expected true got false
<rdar://problem/84158942>
Marked test expectations https://trac.webkit.org/changeset/283996/webkit
I was not able to reproduce the failure locally on iOS 15 simulator using run-webkit-tests --force --ios-simulator --iterations 500 --exit-after-n-failures 1 fast/mediastream/mediaElement-gc.html
It looks like the same diff as this Bug 226991.
Looking at the last failure: - PASS Keep alive a video element with a live srcObject - PASS GC a video element with a live srcObject, then srcObject set to null + FAIL Keep alive a video element with a live srcObject assert_equals: expected 1 but got 2 + FAIL GC a video element with a live srcObject, then srcObject set to null assert_true: expected true got false It seems there might be remaining media elements from the previous test. We can update mediaElementCount to only count elements of a given document.
Created attachment 449803 [details] Patch
Committed r288462 (246348@main): <https://commits.webkit.org/246348@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449803 [details].