[webkit-changes] [WebKit/WebKit] f2bf55: Improve reliability and debuggability of http/wpt/...

youennf noreply at github.com
Tue Dec 17 09:38:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f2bf55e652d728e60cdc061123fe29cb31a277ec
      https://github.com/WebKit/WebKit/commit/f2bf55e652d728e60cdc061123fe29cb31a277ec
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/http/wpt/mediarecorder/MediaRecorder-audio-bitrate.js
    A LayoutTests/http/wpt/mediarecorder/pause-recording-2-expected.txt
    A LayoutTests/http/wpt/mediarecorder/pause-recording-2.html
    M LayoutTests/http/wpt/mediarecorder/pause-recording-expected.txt
    M LayoutTests/http/wpt/mediarecorder/pause-recording.html

  Log Message:
  -----------
  Improve reliability and debuggability of http/wpt/mediarecorder/pause-recording.html and http/wpt/mediarecorder/MediaRecorder-audio-bitrate-webm.html
rdar://141616340
https://bugs.webkit.org/show_bug.cgi?id=284816

Reviewed by Jean-Yves Avenard.

We mark those tests as slow.
We make sure that for the audio bitrate test, we gather enough data to be able to compare correctly different bitrates.
We make sure to stop tracks in http/wpt/mediarecorder/pause-recording.html to improve efficiency.

We move one of the test in its own http/wpt/mediarecorder/pause-recording-2.html since it appears to be more flaky than other tests.
We update the test by fixing a typo in the name of a promise that is reused lowercase while it is defined mixedcase.
And we add a helper routine to wait for events with a timer so that the test will give more information in case it is timing out.

* LayoutTests/TestExpectations:
* LayoutTests/http/wpt/mediarecorder/MediaRecorder-audio-bitrate.js:
(async record):
(record): Deleted.
* LayoutTests/http/wpt/mediarecorder/pause-recording-2-expected.txt: Added.
* LayoutTests/http/wpt/mediarecorder/pause-recording-2.html: Added.
* LayoutTests/http/wpt/mediarecorder/pause-recording-expected.txt:
* LayoutTests/http/wpt/mediarecorder/pause-recording.html:

Canonical link: https://commits.webkit.org/287950@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list