Bug 206959
| Summary: | [ macOS wk2 ] http/tests/media/media-stream/get-display-media-prompt.html is flaky timing out | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jacob Uphoff <jacob_uphoff> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jacob Uphoff
http/tests/media/media-stream/get-display-media-prompt.html
this test is a flaky failure on MacOS
test is also flaky timing out
I was able to reproduce the failure by running the test in iterations
Timeouts are seen throughout all visible history
History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fmedia%2Fmedia-stream%2Fget-display-media-prompt.html
Diff:
--- /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/media/media-stream/get-display-media-prompt-expected.txt
+++ /Volumes/Data/slave/catalina-release-tests-wk2/build/layout-test-results/http/tests/media/media-stream/get-display-media-prompt-actual.txt
@@ -1,55 +1,6 @@
-Test basic getDisplayMedia prompting behavior
+CONSOLE MESSAGE: line 123: Unhandled Promise Rejection: InvalidAccessError: getDisplayMedia must be called from a user gesture handler.
+#PID UNRESPONSIVE - WebKitTestRunner (pid 94078)
+FAIL: Timed out waiting for notifyDone to be called
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 0
-
-** Request an audio-only stream, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 0
-PASS stream is undefined.
-PASS err instanceof Error is true
-PASS err.name is "TypeError"
-
-** Request an video-only stream, the user should be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 1
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with audio and video, the user should be prompted but no audio track should be created **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with 'max' constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error is true
-PASS err.name is "TypeError"
-
-** Request a stream with 'min' constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error is true
-PASS err.name is "TypeError"
-
-** Request a stream with 'advanced' constraints, the user should not be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 2
-PASS stream is undefined.
-PASS err instanceof Error is true
-PASS err.name is "TypeError"
-
-** Request a stream with valid constraints, the user should be prompted **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 3
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-** Request a stream with an exact audio constraint, it should be ignored **
-PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 4
-PASS stream.getAudioTracks().length is 0
-PASS stream.getVideoTracks().length is 1
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
+#EOF
+#EOF
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/59004286>
Alexey Proskuryakov
No failures before 2019-11-05. First failure was with r252047, which was a media related change, but failures were not frequent enough to positively blame.
Alexey Proskuryakov
Let's track failures and timeouts together, because they started at the same time.
*** This bug has been marked as a duplicate of bug 206958 ***