Closed Bug 1470372 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 11618 - MSE: Add SourceBuffer.changeType() web-platform-tests

Categories

(Core :: Audio/Video: Playback, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11618 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11618
Details from upstream follow.

Matt Wolenetz <wolenetz@chromium.org> wrote:
>  MSE: Add SourceBuffer.changeType() web-platform-tests
>  
>  Adds external/wpt tests for the SourceBuffer.changeType() method being
>  incubated in WICG/media-source spec repo's codec-switching branch.
>  
>  BUG=605134
>  
>  Change-Id: I52879fdff07473fbec6f5b44296dedd42619455c
>  Reviewed-on: https://chromium-review.googlesource.com/1111275
>  WPT-Export-Revision: 08efad9322de14ad58512e035f5621b1534f907c
Component: web-platform-tests → Audio/Video: Playback
Product: Testing → Core
Ran 3 tests and 164 subtests
OK     : 3
PASS   : 130
FAIL   : 34

New tests that have failures or other problems:
/media-source/interfaces.html
    SourceBuffer interface: calling changeType(DOMString) on sourceBuffer with too few arguments must throw TypeError: FAIL
    SourceBuffer interface: operation changeType(DOMString): FAIL
    SourceBuffer interface: sourceBuffer must inherit property "changeType(DOMString)" with the proper type: FAIL
/media-source/mediasource-changetype-play.html
    Test audio-only changeType for video/mp4; codecs="mp4a.40.2" <-> video/mp4; codecs="mp4a.40.2": FAIL
    Test audio-only changeType for video/mp4; codecs="mp4a.40.2" <-> video/webm; codecs="vorbis": FAIL
    Test audio-only changeType for video/webm; codecs="vorbis" <-> video/mp4; codecs="mp4a.40.2": FAIL
    Test audio-only changeType for video/webm; codecs="vorbis" <-> video/webm; codecs="vorbis": FAIL
    Test video-only changeType for video/mp4; codecs="avc1.4D4001" <-> video/mp4; codecs="avc1.4D4001": FAIL
    Test video-only changeType for video/mp4; codecs="avc1.4D4001" <-> video/webm; codecs="vp8": FAIL
    Test video-only changeType for video/mp4; codecs="avc1.4D4001" <-> video/webm; codecs="vp9": FAIL
    Test video-only changeType for video/webm; codecs="vp8" <-> video/mp4; codecs="avc1.4D4001": FAIL
    Test video-only changeType for video/webm; codecs="vp8" <-> video/webm; codecs="vp8": FAIL
    Test video-only changeType for video/webm; codecs="vp8" <-> video/webm; codecs="vp9": FAIL
    Test video-only changeType for video/webm; codecs="vp9" <-> video/mp4; codecs="avc1.4D4001": FAIL
    Test video-only changeType for video/webm; codecs="vp9" <-> video/webm; codecs="vp8": FAIL
    Test video-only changeType for video/webm; codecs="vp9" <-> video/webm; codecs="vp9": FAIL
/media-source/mediasource-changetype.html
    Test changeType after SourceBuffer removed from mediaSource.: FAIL
    Test changeType retains previous mode when changing to type that doesn't generate timestamps: FAIL
    Test changeType sets mode to sequence for change to type that generates timestamps: FAIL
    Test changeType transitioning readyState from 'ended' to 'open'.: FAIL
    Test changeType while update pending.: FAIL
    Test changeType with null type.: FAIL
    Test changeType with unsupported type.: FAIL
changeType is an experimental feature, you need to enable pref media.mediasource.experimental.enabled

all tests should pass
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0fdded01a59
[wpt PR 11618] - MSE: Add SourceBuffer.changeType() web-platform-tests, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/7b5927c63c00
[wpt PR 11618] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/f0fdded01a59
https://hg.mozilla.org/mozilla-central/rev/7b5927c63c00
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.