[#948] safari reports a different duration, probably because it is not using the ogg. Instead test against the duration, so it works on all browser.

This commit is contained in:
ScottDowne 2012-03-06 15:54:43 -05:00
Родитель 1e7fba6cf4
Коммит 251c081c9b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -3802,8 +3802,8 @@ test( "end undefined or false should never be fired", function() {
$pop.neverEndingStory({}); $pop.neverEndingStory({});
$pop.neverEndingStory({ end: false }); $pop.neverEndingStory({ end: false });
$pop.neverEndingStory({ end: undefined }); $pop.neverEndingStory({ end: undefined });
$pop.endingStory({ end: 64.541666 }); $pop.endingStory({ end: $pop.duration() });
$pop.play( 64.541666 ); $pop.currentTime( $pop.duration() );
}); });
module( "Popcorn XHR" ); module( "Popcorn XHR" );