mirror of
https://github.com/servo/servo.git
synced 2025-08-28 16:48:22 +01:00
Update web-platform-tests to revision 68a256f49be380ca4add535ce8ece9de28820e6b
This commit is contained in:
parent
e54935c25a
commit
cd5bf022bd
178 changed files with 6082 additions and 795 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue