Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9d190d3e
authored
2014-10-28 14:33:16 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update comment and test name
1 parent
27665376
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
test/videojs-hls_test.js
test/videojs-hls_test.js
View file @
9d190d3
...
...
@@ -368,7 +368,7 @@ test('downloads media playlists after loading the master', function() {
'first segment requested'
);
});
test
(
'downloads a second media playlist before playback'
,
function
()
{
test
(
'downloads a second media playlist before playback
, if bandwidth is high
'
,
function
()
{
player
.
src
({
src
:
'manifest/master.m3u8'
,
type
:
'application/vnd.apple.mpegurl'
...
...
@@ -422,7 +422,7 @@ test('calculates the bandwidth after downloading a segment', function() {
standardXHRResponse
(
requests
[
0
]);
// set the request time to be a bit earlier so our bandwidth calculations are NaN
// set the request time to be a bit earlier so our bandwidth calculations are
not
NaN
requests
[
1
].
requestTime
=
(
new
Date
())
-
100
;
standardXHRResponse
(
requests
[
1
]);
...
...
Please
register
or
sign in
to post a comment