mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
7112d22b32
Automatic update from web-platform-tests MSE: Test addSourceBuffer and changeType relaxed type strictness and allowance for implicit changeType In preparation for Chrome's relaxation of addSourceBuffer and changeType codec specificity within the mime type parameter, this change adds new new tests. It also updates the Blink test expectations for these new tests to be failures. Later changes will add Chrome's implementation of the relaxed strictness, and will also remove the failure expectations. external/wpt/media-source/mediasource-changetype-play-without-codecs-parameter: Tests successful addSourceBuffer, changeType, and codec switching without using any codecs parameter in types passed to addSourceBuffer and changeType for pairs of test media that are of same media class (audio or video) and are single track. This test is very similar to mediasource-changetype-play.html, just with less specific parameters to addSourceBuffer and changeType. This file is kept separate from mediasource-changetype-play.html to help identify implementations (like Chrome at the time of this change) that require more specific parameters to those methods. external/wpt/media-source/mediasource-changetype-play-implicit.html: Tests successful codec switching without using changeType for test media of the same bytestream format, separately for audio-only and video-only pairs of media. Also includes a set of the same tests where the initial addSourceBuffer uses only the (relaxed) mime type/subtype without any codecs parameters, for any pairs that included codecs parameters in their full types. Note: In Chrome, only 1 pair of actually different media files is supported across the test media: webm vp8 and vp9. We can add more test media later if greater coverage is desired. external/wpt/media-source/mediasource-changetype-play-negative.html: Tests of various explicit, implicit, strict and relaxed scenarios which should fail. Main MSE spec issue for this: https://github.com/w3c/media-source/issues/161 Related codec-switching MSE spec issue: https://github.com/w3c/media-source/issues/155 These new tests exercise related scenarios to the new non-normative guidance in the codec-switching incubation spec branch in WICG (https://github.com/WICG/media-source/tree/codec-switching), clarifying that implementations can be relaxed in addSourceBuffer and changeType codec-specificity, but not isTypeSupported; apps should still provide as much type specifics as they can to achieve earlier confidence in support or lack thereof, and to avoid issues with implementations (like Chrome at the time of this change) that require more specific parameters to those methods. BUG=535738 Change-Id: I20fd477b2429ef94ee70bf57ed8c18543774da93 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663349 Reviewed-by: Dan Sanders <sandersd@chromium.org> Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Cr-Commit-Position: refs/heads/master@{#672316} -- Fix async tests in media-source mediasource-util.js redefines test.done() to add a final assertion before actually calling done(). However, the assertion was not wrapped in test.step(), which would lead to uncaught errors. -- wpt-commits: b42e788c6937bce1317411e61e9d18ba06835d82, 012de5bb12d78ad7135c26b15fc24f366b1c5845 wpt-pr: 17416 |
||
---|---|---|
.. | ||
mp3 | ||
mp4 | ||
webm | ||
generate-config-change-tests.py | ||
idlharness.any.js | ||
import_tests.sh | ||
manifest.txt | ||
mediasource-activesourcebuffers.html | ||
mediasource-addsourcebuffer-mode.html | ||
mediasource-addsourcebuffer.html | ||
mediasource-append-buffer.html | ||
mediasource-appendbuffer-quota-exceeded.html | ||
mediasource-appendwindow.html | ||
mediasource-attach-stops-delaying-load-event.html | ||
mediasource-avtracks.html | ||
mediasource-buffered.html | ||
mediasource-changetype-play-implicit.html | ||
mediasource-changetype-play-negative.html | ||
mediasource-changetype-play-without-codecs-parameter.html | ||
mediasource-changetype-play.html | ||
mediasource-changetype-util.js | ||
mediasource-changetype.html | ||
mediasource-closed.html | ||
mediasource-config-change-mp4-a-bitrate.html | ||
mediasource-config-change-mp4-av-audio-bitrate.html | ||
mediasource-config-change-mp4-av-framesize.html | ||
mediasource-config-change-mp4-av-video-bitrate.html | ||
mediasource-config-change-mp4-v-bitrate.html | ||
mediasource-config-change-mp4-v-framerate.html | ||
mediasource-config-change-mp4-v-framesize.html | ||
mediasource-config-change-webm-a-bitrate.html | ||
mediasource-config-change-webm-av-audio-bitrate.html | ||
mediasource-config-change-webm-av-framesize.html | ||
mediasource-config-change-webm-av-video-bitrate.html | ||
mediasource-config-change-webm-v-bitrate.html | ||
mediasource-config-change-webm-v-framerate.html | ||
mediasource-config-change-webm-v-framesize.html | ||
mediasource-config-changes.js | ||
mediasource-correct-frames-after-reappend.html | ||
mediasource-correct-frames.html | ||
mediasource-detach.html | ||
mediasource-duration-boundaryconditions.html | ||
mediasource-duration.html | ||
mediasource-endofstream-invaliderror.html | ||
mediasource-endofstream.html | ||
mediasource-errors.html | ||
mediasource-getvideoplaybackquality.html | ||
mediasource-invalid-codec.html | ||
mediasource-is-type-supported.html | ||
mediasource-liveseekable.html | ||
mediasource-multiple-attach.html | ||
mediasource-play-then-seek-back.html | ||
mediasource-play.html | ||
mediasource-preload.html | ||
mediasource-redundant-seek.html | ||
mediasource-remove.html | ||
mediasource-removesourcebuffer.html | ||
mediasource-seek-beyond-duration.html | ||
mediasource-seek-during-pending-seek.html | ||
mediasource-seekable.html | ||
mediasource-sequencemode-append-buffer.html | ||
mediasource-sourcebuffer-mode-timestamps.html | ||
mediasource-sourcebuffer-mode.html | ||
mediasource-sourcebuffer-trackdefaults.html | ||
mediasource-sourcebufferlist.html | ||
mediasource-timestamp-offset.html | ||
mediasource-trackdefault.html | ||
mediasource-trackdefaultlist.html | ||
mediasource-util.js | ||
META.yml | ||
SourceBuffer-abort-readyState.html | ||
SourceBuffer-abort-removed.html | ||
SourceBuffer-abort-updating.html | ||
SourceBuffer-abort.html | ||
URL-createObjectURL-null.html | ||
URL-createObjectURL-revoke.html | ||
URL-createObjectURL.html |