Fix MediaRecorder flaky tests
authoryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2018 21:40:44 +0000 (21:40 +0000)
committeryouenn@apple.com <youenn@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2018 21:40:44 +0000 (21:40 +0000)
commitf6cdd9fac1de5e9e22f9f4657264abfa3bd2f689
treed0281832b0f4e350ec25bca9b9359c2dec09a168
parent3caaa3672cff84a2a03d794534aeab93992448d6
Fix MediaRecorder flaky tests
https://bugs.webkit.org/show_bug.cgi?id=192371

Reviewed by Eric Carlson.

Source/WebCore:

No change of behavior.

* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):
Reset to use real MediaRecorder by default.

LayoutTests:

Updated tests to make them less flaky and more debuggable.

* http/wpt/mediarecorder/MediaRecorder-AV-audio-only-dataavailable.html:
* http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html:
* http/wpt/mediarecorder/MediaRecorder-AV-video-only-dataavailable.html:
* platform/gtk/TestExpectations:
* platform/wpe/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-only-dataavailable.html
LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html
LayoutTests/http/wpt/mediarecorder/MediaRecorder-AV-video-only-dataavailable.html
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/wpe/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/testing/Internals.cpp