[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / video-volume-expected.txt
1
2 Test 'volume' attribute
3
4 EXPECTED (video.volume == '1') OK
5 RUN(video.volume = 0.5)
6 EXPECTED (video.volume == '0.5') OK
7 RUN(video.volume = 0)
8 EXPECTED (video.volume == '0') OK
9 TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
10 TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
11 RUN(video.load())
12 EVENT(canplaythrough)
13 EXPECTED (video.volume == '0') OK
14 RUN(video.volume = 0.5)
15 EXPECTED (video.volume == '0.5') OK
16 TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
17 TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
18 END OF TEST
19