Update web-platform-tests to revision 68a256f49be380ca4add535ce8ece9de28820e6b

This commit is contained in:
WPT Sync Bot 2018-02-04 20:08:48 -05:00
parent e54935c25a
commit cd5bf022bd
178 changed files with 6082 additions and 795 deletions

View file

@ -52,7 +52,8 @@
// Note that segmentInfo.duration is expected to also be the
// highest track buffer range end time. Therefore, endOfStream() should
// not change duration with this media.
assert_equals(threeDecimalPlaces(segmentInfo.duration), threeDecimalPlaces(mediaSource.duration));
assert_equals(threeDecimalPlaces(segmentInfo.duration), threeDecimalPlaces(mediaSource.duration),
'SegmentInfo duration should initially roughly match mediaSource duration');
assert_less_than_equal(highestEndTime, mediaSource.duration,
'Media duration may be slightly longer than intersected track buffered ranges');
@ -64,7 +65,8 @@
assert_equals(sourceBuffer.buffered.length, 1,
'Media data properly buffered after endOfStream');
assert_equals(threeDecimalPlaces(segmentInfo.duration), threeDecimalPlaces(mediaSource.duration));
assert_equals(threeDecimalPlaces(segmentInfo.duration), threeDecimalPlaces(mediaSource.duration),
'SegmentInfo duration should still roughly match mediaSource duration');
assert_less_than_equal(highestEndTime, mediaSource.duration,
'Media duration may be slightly longer than intersected track buffered ranges');
assert_equals(sourceBuffer.buffered.end(0), mediaSource.duration,