Bug 1182945: P2. Disable webm mse web-platforms tests. r=karlt

In theory, linux and windows XP should provide exactly the same results.
However, due to bug 1165772, MSE on linux incorrectly reports MP4 support.

Bug mediasource-buffered.html is disabled on Windows XP as it triggers a bug in the tests. As we can't intercept the result, we must disable the entire test instead.
This commit is contained in:
Jean-Yves Avenard 2015-07-17 09:01:34 +10:00
parent 4e323b9534
commit 8829dd532a
24 changed files with 460 additions and 122 deletions

View File

@ -165,7 +165,7 @@ user_pref("layout.spammy_warnings.enabled", false);
// Enable Media Source Extensions for testing
user_pref("media.mediasource.mp4.enabled", true);
user_pref("media.mediasource.webm.enabled", true);
user_pref("media.mediasource.webm.enabled", false);
// Enable mozContacts
user_pref("dom.mozContacts.enabled", true);

View File

@ -8,3 +8,6 @@
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
[SourceBuffer#abort() (video/webm; codecs="vorbis,vp8") : If the readyState attribute of the parent media source is not in the "open" state then throw an INVALID_STATE_ERR exception and abort these steps.]
expected: FAIL

View File

@ -6,3 +6,6 @@
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
[SourceBuffer#abort (video/webm; codecs="vorbis,vp8") : if this object has been removed from the sourceBuffers attribute of the parent media source, then throw an INVALID_STATE_ERR exception and abort these steps.]
expected: FAIL

View File

@ -6,3 +6,6 @@
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
[SourceBuffer#abort() (video/webm; codecs="vorbis,vp8") : Check the algorithm when the updating attribute is true.]
expected: FAIL

View File

@ -6,3 +6,6 @@
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
[SourceBuffer#abort() (video/webm; codecs="vorbis,vp8"): Check the values of appendWindowStart and appendWindowEnd.]
expected: FAIL

View File

@ -1,63 +1,4 @@
[interfaces.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[AudioTrack interface: attribute kind]
expected: FAIL
[AudioTrack interface: attribute language]
expected: FAIL
[AudioTrack interface: attribute sourceBuffer]
expected: FAIL
[VideoTrack interface: attribute kind]
expected: FAIL
[VideoTrack interface: attribute language]
expected: FAIL
[VideoTrack interface: attribute sourceBuffer]
expected: FAIL
[TextTrack interface: attribute kind]
expected: FAIL
[TextTrack interface: attribute language]
expected: FAIL
[TextTrack interface: attribute sourceBuffer]
expected: FAIL
[SourceBuffer interface: attribute audioTracks]
expected: FAIL
[SourceBuffer interface: attribute videoTracks]
expected: FAIL
[SourceBuffer interface: attribute textTracks]
expected: FAIL
[SourceBuffer interface: operation appendStream(Stream,unsigned long long)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "audioTracks" with the proper type (4)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "videoTracks" with the proper type (5)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "textTracks" with the proper type (6)]
expected: FAIL
[SourceBuffer interface: sourceBuffer must inherit property "appendStream" with the proper type (11)]
expected: FAIL
[SourceBuffer interface: calling appendStream(Stream,unsigned long long) on sourceBuffer with too few arguments must throw TypeError]
expected: FAIL
[VideoPlaybackQuality interface: attribute totalFrameDelay]
expected: FAIL
[VideoPlaybackQuality interface: video.getVideoPlaybackQuality() must inherit property "totalFrameDelay" with the proper type (4)]
expected: FAIL
expected: ERROR

View File

@ -11,3 +11,28 @@
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test addSourceBuffer() with Vorbis and VP8]
expected: FAIL
[Test addSourceBuffer() with Vorbis and VP8 in separate SourceBuffers]
expected: FAIL
[Test addSourceBuffer() in 'ended' state.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test addSourceBuffer() video only]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test addSourceBuffer() audio only]
expected:
if (os == "win") and (version == "5.1.2600"): FAIL
[Test addSourceBuffer() QuotaExceededError.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -4,3 +4,66 @@
disabled:
if (os == "win") and (version != "5.1.2600"): https://bugzilla.mozilla.org/show_bug.cgi?id=1143650
if os == "mac": https://bugzilla.mozilla.org/show_bug.cgi?id=1143650
[Test SourceBuffer.appendBuffer() event dispatching.]
expected: FAIL
[Test SourceBuffer.appendBuffer() call during a pending appendBuffer().]
expected: FAIL
[Test SourceBuffer.abort() call during a pending appendBuffer().]
expected: FAIL
[Test SourceBuffer.appendBuffer() triggering an 'ended' to 'open' transition.]
expected: FAIL
[Test zero byte SourceBuffer.appendBuffer() call triggering an 'ended' to 'open' transition.]
expected: FAIL
[Test MediaSource.removeSourceBuffer() call during a pending appendBuffer().]
expected: FAIL
[Test set MediaSource.duration during a pending appendBuffer() for one of its SourceBuffers.]
expected: FAIL
[Test MediaSource.endOfStream() during a pending appendBuffer() for one of its SourceBuffers.]
expected: FAIL
[Test set SourceBuffer.timestampOffset during a pending appendBuffer().]
expected: FAIL
[Test appending an empty ArrayBufferView.]
expected: FAIL
[Test appending a neutered ArrayBufferView.]
expected: FAIL
[Test appending an empty ArrayBuffer.]
expected: FAIL
[Test appending a neutered ArrayBuffer.]
expected: FAIL
[Test appendBuffer with partial init segments.]
expected: FAIL
[Test appendBuffer with partial media segments.]
expected: FAIL
[Test abort in the middle of an initialization segment.]
expected: FAIL
[Test abort after removing sourcebuffer.]
expected: FAIL
[Test abort after readyState is ended following init segment and media segment.]
expected: FAIL
[Test abort after appendBuffer update ends.]
expected: FAIL
[Test appending null.]
expected: FAIL
[Test appending after removeSourceBuffer().]
expected: FAIL

View File

@ -1,3 +1,38 @@
[mediasource-appendwindow.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Test correctly reset appendWindowStart and appendWindowEnd values]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test set wrong values to appendWindowStart and appendWindowEnd.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test set correct values to appendWindowStart and appendWindowEnd.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test appendwindow throw error when mediasource object is not associated with a sourebuffer.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test set appendWindowStart and appendWindowEnd when source buffer updating.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test appendWindowStart and appendWindowEnd value after a sourceBuffer.abort().]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test read appendWindowStart and appendWindowEnd initial values.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,10 +1,13 @@
[mediasource-buffered.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
disabled:
if (os == "win") and (version == "5.1.2600"): https://bugzilla.mozilla.org/show_bug.cgi?id=1182945
[Demuxed content with different lengths]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
if (os == "win") and (version != "5.1.2600"): FAIL
[Muxed content with different lengths]
expected: FAIL
@ -17,4 +20,15 @@
[Muxed content empty buffered ranges.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Get buffered range when only init segment is appended.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Get buffered range after removing sourcebuffer.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,3 +1,24 @@
[mediasource-closed.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Test addSourceBuffer() while closed.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test removeSourceBuffer() while closed.]
expected:
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting duration while open->closed.]
expected:
if (os == "win") and (version == "5.1.2600"): FAIL
[Test getting duration while open->closed.]
expected:
if (os == "win") and (version == "5.1.2600"): FAIL
[Test sourcebuffer.abort when closed.]
expected:
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,3 +1,6 @@
[mediasource-config-change-webm-av-audio-bitrate.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Tests webm audio bitrate changes in multiplexed content.]
expected: FAIL

View File

@ -1,3 +1,6 @@
[mediasource-config-change-webm-av-framesize.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Tests webm frame size changes in multiplexed content.]
expected: FAIL

View File

@ -1,3 +1,6 @@
[mediasource-config-change-webm-av-video-bitrate.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Tests webm video bitrate changes in multiplexed content.]
expected: FAIL

View File

@ -1,3 +1,6 @@
[mediasource-config-change-webm-v-bitrate.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Tests webm video-only bitrate changes.]
expected: FAIL

View File

@ -1,3 +1,6 @@
[mediasource-config-change-webm-v-framerate.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Tests webm video-only frame rate changes.]
expected: FAIL

View File

@ -1,3 +1,6 @@
[mediasource-config-change-webm-v-framesize.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Tests webm video-only frame size changes.]
expected: FAIL

View File

@ -3,3 +3,68 @@
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
disabled:
if debug: Unstable
[Set duration to 2^31 - 1]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to 1]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to Number.MAX_VALUE]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to Number.MIN_VALUE]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to Number.MAX_VALUE - 1]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to Number.MIN_VALUE - 1]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to Number.POSITIVE_INFINITY]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to Number.NEGATIVE_INFINITY]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to lowest value.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to a negative double.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to a positive double.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to zero]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Set duration to NaN]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,94 +1,62 @@
[mediasource-is-type-supported.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Test invalid MIME format "video/webm"]
expected: FAIL
[Test invalid MIME format "video/webm;"]
expected: FAIL
[Test invalid MIME format "video/webm;codecs"]
expected: FAIL
[Test invalid MIME format "video/webm;codecs="]
expected: FAIL
[Test invalid MIME format "video/webm;codecs=""]
expected: FAIL
[Test invalid MIME format "video/webm;codecs="""]
expected: FAIL
[Test invalid mismatch between major type and codec ID "audio/webm;codecs="vp8""]
expected: FAIL
[Test valid WebM type "AUDIO/WEBM;CODECS="vorbis""]
expected: FAIL
[Test valid MP4 type "video/mp4;codecs="avc1.4d001e""]
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid MP4 type "video/mp4;codecs="avc1.42001e""]
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid MP4 type "audio/mp4;codecs="mp4a.40.2""]
expected:
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid MP4 type "audio/mp4;codecs="mp4a.40.5""]
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid MP4 type "audio/mp4;codecs="mp4a.67""]
expected: FAIL
[Test valid MP4 type "video/mp4;codecs="mp4a.40.2""]
expected:
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid MP4 type "video/mp4;codecs="avc1.4d001e,mp4a.40.2""]
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid MP4 type "video/mp4;codecs="mp4a.40.2 , avc1.4d001e ""]
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid MP4 type "video/mp4;codecs="avc1.4d001e,mp4a.40.5""]
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): FAIL
if debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86") and (bits == 32): FAIL
if debug and (os == "win") and (version == "5.1.2600") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid WebM type "video/webm;codecs="vp8""]
expected: FAIL
[Test valid WebM type "video/webm;codecs="vorbis""]
expected: FAIL
[Test valid WebM type "video/webm;codecs="vp8,vorbis""]
expected: FAIL
[Test valid WebM type "video/webm;codecs="vorbis, vp8""]
expected: FAIL
[Test valid WebM type "audio/webm;codecs="vorbis""]
expected: FAIL

View File

@ -7,6 +7,8 @@
expected:
if os == "mac": FAIL
if (os == "win") and (version != "5.1.2600"): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test removing beginning of appended data.]
expected: FAIL
@ -20,8 +22,57 @@
[Test remove with a start at the duration.]
expected:
if debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove transitioning readyState from 'ended' to 'open'.]
expected:
if debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove with an negative start.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove with non-finite start.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove with a start beyond the duration.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove with a start larger than the end.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove with a NEGATIVE_INFINITY end.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove with a NaN end.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove after SourceBuffer removed from mediaSource.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test remove while update pending.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test aborting a remove operation.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,3 +1,23 @@
[mediasource-removesourcebuffer.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Test addSourceBuffer(), removeSourceBuffer(), addSourceBuffer() sequence.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test calling removeSourceBuffer() twice with the same object.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test calling removeSourceBuffer() in ended state.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test removesourcebuffer event on activeSourceBuffers.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -7,3 +7,23 @@
[Test setting SourceBuffer.mode and SourceBuffer.timestampOffset while parsing media segment.]
expected: FAIL
[Test initial value of SourceBuffer.mode is "segments"]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting a removed SourceBuffer's mode]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.mode while still updating]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.mode triggers parent MediaSource 'ended' to 'open' transition.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,3 +1,13 @@
[mediasource-sourcebufferlist.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Test SourceBufferList event dispatching.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test that only 1 removesourcebuffer event fires on each SourceBufferList when the MediaSource closes.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL

View File

@ -1,3 +1,78 @@
[mediasource-timestamp-offset.html]
type: testharness
prefs: [media.mediasource.enabled:true, media.mediasource.whitelist:false]
[Test setting SourceBuffer.timestampOffset to a positive number.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to a negative number.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to zero.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to positive infinity.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to negative infinity.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to NaN.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to undefined.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to null.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to false.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to true.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to a number string.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting SourceBuffer.timestampOffset to an empty string.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting timestampOffset in 'ended' state causes a transition to 'open'.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test getting the initial value of timestampOffset.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test setting timestampoffset after removing the sourcebuffer.]
expected:
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL