6c08a3ae by Gary Katsevman

check requests length to double check we didn't queue a request for non-existent segments

1 parent 6e7f77c8
......@@ -1191,6 +1191,7 @@ test('does not break if the playlist has no segments', function() {
throw e;
}
ok(true, 'no error was thrown');
strictEqual(requests.length, 1, 'no requests for non-existent segments were queued');
});
})(window, window.videojs);
......