Rubber-stamped by bdash.
[WebKit-https.git] / LayoutTests / media / video-volume-expected.txt
1 Test 'volume' attribute
2
3 TEST(video.volume == 0.5) OK
4 RUN(video.volume = 1)
5 TEST(video.volume == 1) OK
6 RUN(video.volume = 0)
7 TEST(video.volume == 0) OK
8 TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
9 TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
10 RUN(video.load())
11 EVENT(load)
12 TEST(video.volume == 0) OK
13 RUN(video.volume = 0.5)
14 TEST(video.volume == 0.5) OK
15 TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
16 TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR) OK
17 END OF TEST
18