WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
206958
[ macOS wk2 ] http/tests/media/media-stream/get-display-media-prompt.html is flaky failure
https://bugs.webkit.org/show_bug.cgi?id=206958
Summary
[ macOS wk2 ] http/tests/media/media-stream/get-display-media-prompt.html is ...
Jacob Uphoff
Reported
2020-01-29 13:13:11 PST
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 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 @@ -40,12 +40,12 @@ 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 +FAIL numberOfTimesGetUserMediaPromptHasBeenCalled() should be 3. Was 2. +FAIL stream.getAudioTracks().length should be 0. Threw exception TypeError: undefined is not an object (evaluating 'stream.getAudioTracks') +FAIL stream.getVideoTracks().length should be 1. Threw exception TypeError: undefined is not an object (evaluating 'stream.getVideoTracks') ** Request a stream with an exact audio constraint, it should be ignored ** -PASS numberOfTimesGetUserMediaPromptHasBeenCalled() is 4 +FAIL numberOfTimesGetUserMediaPromptHasBeenCalled() should be 4. Was 3. PASS stream.getAudioTracks().length is 0 PASS stream.getVideoTracks().length is 1
Attachments
Update Test Expectations
(1.71 KB, patch)
2020-01-29 13:21 PST
,
Jacob Uphoff
no flags
Details
Formatted Diff
Diff
Patch
(3.60 KB, patch)
2020-02-03 06:42 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch for landing
(3.62 KB, patch)
2020-02-03 08:19 PST
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Jacob Uphoff
Comment 1
2020-01-29 13:15:49 PST
here is the timeout bug
https://bugs.webkit.org/show_bug.cgi?id=206959
Radar WebKit Bug Importer
Comment 2
2020-01-29 13:16:17 PST
<
rdar://problem/59003765
>
Jacob Uphoff
Comment 3
2020-01-29 13:21:02 PST
Created
attachment 389177
[details]
Update Test Expectations
Truitt Savell
Comment 4
2020-01-29 13:26:11 PST
Comment on
attachment 389177
[details]
Update Test Expectations Clearing flags on attachment: 389177 Committed
r255379
: <
https://trac.webkit.org/changeset/255379
>
Alexey Proskuryakov
Comment 5
2020-01-30 15:24:34 PST
***
Bug 206959
has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 6
2020-01-30 15:24:45 PST
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.
youenn fablet
Comment 7
2020-02-03 06:42:43 PST
Created
attachment 389504
[details]
Patch
Eric Carlson
Comment 8
2020-02-03 07:15:00 PST
Comment on
attachment 389504
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=389504&action=review
> Source/WebCore/ChangeLog:11 > + For that reason, we were storing a pointer to the gesture event and resetting in case the current gesture event was equal to the stored pointer. > + Instead, store a WeakPtr which ensures that if the previous event is destroyed, the weak pointer will be null and so will not have the same value as the new gesture event.
Nit: these lines are really long and should be wrapped.
youenn fablet
Comment 9
2020-02-03 08:19:24 PST
Created
attachment 389512
[details]
Patch for landing
WebKit Commit Bot
Comment 10
2020-02-03 12:44:53 PST
Comment on
attachment 389512
[details]
Patch for landing Clearing flags on attachment: 389512 Committed
r255582
: <
https://trac.webkit.org/changeset/255582
>
WebKit Commit Bot
Comment 11
2020-02-03 12:44:55 PST
All reviewed patches have been landed. Closing bug.
youenn fablet
Comment 12
2020-02-18 09:24:26 PST
Removing flaky test expectation in
https://bugs.webkit.org/show_bug.cgi?id=207893
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug