Bug 226899 - REGRESSION: (r278544) [ Mac-wk1 ] media/media-continues-playing-after-replace-source.html is a flaky failure
Summary: REGRESSION: (r278544) [ Mac-wk1 ] media/media-continues-playing-after-replace...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-10 14:31 PDT by Truitt Savell
Modified: 2021-06-25 15:30 PDT (History)
17 users (show)

See Also:


Attachments
Patch (12.02 KB, patch)
2021-06-10 15:41 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Truitt Savell 2021-06-10 14:31:01 PDT
media/media-continues-playing-after-replace-source.html

this test has been flaky failing sense the changes in https://trac.webkit.org/changeset/278544/webkit

History:
https://results.webkit.org/?suite=layout-tests&test=media/media-continues-playing-after-replace-source.html

Diff:
--- /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/media/media-continues-playing-after-replace-source-expected.txt
+++ /Volumes/Data/worker/bigsur-debug-tests-wk1/build/layout-test-results/media/media-continues-playing-after-replace-source-actual.txt
@@ -5,7 +5,7 @@
 EVENT(playing)
 EXPECTED (testElement.currentTime > '0') OK
 Replacing the media's source element:
-EXPECTED (testElement.currentTime == '0') OK
+EXPECTED (testElement.currentTime == '0'), OBSERVED '0.205980314234375' FAIL
 EXPECTED (testElement.currentTime > '0') OK
 END OF TEST
Comment 1 Radar WebKit Bug Importer 2021-06-10 14:31:42 PDT
<rdar://problem/79160701>
Comment 2 Truitt Savell 2021-06-10 14:33:43 PDT
This test is effecting wk1 queues
Comment 3 Chris Dumez 2021-06-10 14:33:53 PDT
Looking.
Comment 4 Chris Dumez 2021-06-10 15:41:16 PDT
Created attachment 431147 [details]
Patch
Comment 5 Ryosuke Niwa 2021-06-10 16:58:15 PDT
Comment on attachment 431147 [details]
Patch

Maybe we can do the same for other media related code where we use callOnMainThread?
Comment 6 Chris Dumez 2021-06-10 16:58:47 PDT
(In reply to Ryosuke Niwa from comment #5)
> Comment on attachment 431147 [details]
> Patch
> 
> Maybe we can do the same for other media related code where we use
> callOnMainThread?

Probably, I plan to follow up.
Comment 7 EWS 2021-06-10 18:02:12 PDT
Committed r278746 (238707@main): <https://commits.webkit.org/238707@main>

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