Bug 181069

Summary: REGRESSION (r226059?): [macOS WK2] Layout Test fast/mediastream/MediaStream-MediaElement-setObject-null.html is flaky
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: MediaAssignee: Jer Noble <jer.noble>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, jer.noble, jlewis3, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Ryan Haddad 2017-12-20 17:09:58 PST
The following layout test is flaky on macOS WK2

fast/mediastream/MediaStream-MediaElement-setObject-null.html

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fmediastream%2FMediaStream-MediaElement-setObject-null.html

--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/mediastream/MediaStream-MediaElement-setObject-null-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/fast/mediastream/MediaStream-MediaElement-setObject-null-actual.txt
@@ -1,3 +1,4 @@
+CONSOLE MESSAGE: Unhandled Promise Rejection: AbortError: The operation was aborted.
 PASS video.srcObject = stream did not throw exception.
 PASS video.duration is Number.POSITIVE_INFINITY
 PASS video.srcObject = null did not throw exception.
Comment 1 Ryan Haddad 2017-12-20 17:11:37 PST
This may have regressed with https://trac.webkit.org/changeset/226059/webkit
Comment 2 Ryan Haddad 2017-12-21 15:35:58 PST
I can reproduce the failure on ToT with:
run-webkit-tests -fg --iter 10 --no-retry-failure fast/mediastream/MediaStream-MediaElement-setObject-null.html
Comment 3 Radar WebKit Bug Importer 2017-12-21 16:54:11 PST
<rdar://problem/36188221>
Comment 4 Matt Lewis 2018-01-05 11:34:49 PST
Marked as flaky in: https://trac.webkit.org/changeset/226455/webkit
Comment 5 Jer Noble 2018-03-21 12:29:16 PDT
Created attachment 336221 [details]
Patch
Comment 6 WebKit Commit Bot 2018-03-21 14:07:59 PDT
Comment on attachment 336221 [details]
Patch

Clearing flags on attachment: 336221

Committed r229822: <https://trac.webkit.org/changeset/229822>
Comment 7 WebKit Commit Bot 2018-03-21 14:08:00 PDT
All reviewed patches have been landed.  Closing bug.