Update comment and test name
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -368,7 +368,7 @@ test('downloads media playlists after loading the master', function() { | ... | @@ -368,7 +368,7 @@ test('downloads media playlists after loading the master', function() { |
368 | 'first segment requested'); | 368 | 'first segment requested'); |
369 | }); | 369 | }); |
370 | 370 | ||
371 | test('downloads a second media playlist before playback', function() { | 371 | test('downloads a second media playlist before playback, if bandwidth is high', function() { |
372 | player.src({ | 372 | player.src({ |
373 | src: 'manifest/master.m3u8', | 373 | src: 'manifest/master.m3u8', |
374 | type: 'application/vnd.apple.mpegurl' | 374 | type: 'application/vnd.apple.mpegurl' |
... | @@ -422,7 +422,7 @@ test('calculates the bandwidth after downloading a segment', function() { | ... | @@ -422,7 +422,7 @@ test('calculates the bandwidth after downloading a segment', function() { |
422 | 422 | ||
423 | standardXHRResponse(requests[0]); | 423 | standardXHRResponse(requests[0]); |
424 | 424 | ||
425 | // set the request time to be a bit earlier so our bandwidth calculations are NaN | 425 | // set the request time to be a bit earlier so our bandwidth calculations are not NaN |
426 | requests[1].requestTime = (new Date())-100; | 426 | requests[1].requestTime = (new Date())-100; |
427 | 427 | ||
428 | standardXHRResponse(requests[1]); | 428 | standardXHRResponse(requests[1]); | ... | ... |
-
Please register or sign in to post a comment