mirror of
https://github.com/videojs/video.js.git
synced 2024-12-27 02:43:45 +02:00
Block defineSetter test for older IE
__defineSetter__ doesn't work on some versions of IE, so just ignore the volume/mute toggle tests when run on those browsers.
This commit is contained in:
parent
ad98bebf55
commit
f1e90d65f2
@ -2,6 +2,10 @@ module('HTML5');
|
||||
|
||||
test('should detect whether the volume can be changed', function(){
|
||||
var testVid, ConstVolumeVideo;
|
||||
if (!{}['__defineSetter__']) {
|
||||
ok(true, 'your browser does not support this test, skipping it');
|
||||
return;
|
||||
}
|
||||
testVid = vjs.TEST_VID;
|
||||
ConstVolumeVideo = function(){
|
||||
this.volume = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user