blob: 04340b87a3b0c1432baf29ecb62c9ae74f3d04e2 [file] [log] [blame]
Test 'volume' attribute
EXPECTED (video.volume == '1') OK
RUN(video.volume = 0.5)
EXPECTED (video.volume == '0.5') OK
RUN(video.volume = 0)
EXPECTED (video.volume == '0') OK
TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
EXPECTED (video.volume == '1') OK
END OF TEST