we only care whether a downshift didn't happen
Showing
1 changed file
with
0 additions
and
7 deletions
... | @@ -420,8 +420,6 @@ test('dont downshift if bandwidth is low', function() { | ... | @@ -420,8 +420,6 @@ test('dont downshift if bandwidth is low', function() { |
420 | standardXHRResponse(requests[1]); | 420 | standardXHRResponse(requests[1]); |
421 | standardXHRResponse(requests[2]); | 421 | standardXHRResponse(requests[2]); |
422 | 422 | ||
423 | standardXHRResponse(requests[3]); | ||
424 | |||
425 | strictEqual(requests[0].url, 'manifest/master.m3u8', 'master playlist requested'); | 423 | strictEqual(requests[0].url, 'manifest/master.m3u8', 'master playlist requested'); |
426 | strictEqual(requests[1].url, | 424 | strictEqual(requests[1].url, |
427 | window.location.origin + | 425 | window.location.origin + |
... | @@ -433,11 +431,6 @@ test('dont downshift if bandwidth is low', function() { | ... | @@ -433,11 +431,6 @@ test('dont downshift if bandwidth is low', function() { |
433 | window.location.pathname.split('/').slice(0, -1).join('/') + | 431 | window.location.pathname.split('/').slice(0, -1).join('/') + |
434 | '/manifest/media-00001.ts', | 432 | '/manifest/media-00001.ts', |
435 | 'first segment requested'); | 433 | 'first segment requested'); |
436 | strictEqual(requests[3].url, | ||
437 | window.location.origin + | ||
438 | window.location.pathname.split('/').slice(0, -1).join('/') + | ||
439 | '/manifest/media1.m3u8', | ||
440 | 'media playlist requested'); | ||
441 | }); | 434 | }); |
442 | 435 | ||
443 | test('timeupdates do not check to fill the buffer until a media playlist is ready', function() { | 436 | test('timeupdates do not check to fill the buffer until a media playlist is ready', function() { | ... | ... |
-
Please register or sign in to post a comment