upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / media / media-controller-expected.txt
1  
2 Test presence of MediaController constructor, controller, and mediaGroup attributes:
3 EXPECTED (typeof(MediaController) != 'undefined') OK
4 EXPECTED (video.controller == 'null') OK
5 EXPECTED (video.mediaGroup == '') OK
6
7 Test that the presence of a mediaGroup attribute creates a controller:
8 EXPECTED (video2.mediaGroup == 'group') OK
9 EXPECTED (video2.controller != 'null') OK
10
11 Test that setting mediaGroup to an empty string removes the controller:
12 RUN(video.mediaGroup = '')
13 EXPECTED (video.controller == 'null') OK
14
15 Test manually creating and assigning a controller to a media element:
16 RUN(controller = new MediaController())
17 RUN(video.controller = controller)
18 EXPECTED (video.controller == '[object MediaController]') OK
19
20 Test that two media elements with the same mediaGroup have the same controller:
21 RUN(video.mediaGroup = 'group')
22 RUN(video2.mediaGroup = 'group')
23 EXPECTED (video.controller === video2.controller == 'true') OK
24 END OF TEST
25