Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / imported / web-platform-tests / mediacapture-streams / stream-api / video-and-audio-tracks / videostreamtrack.html
1 <!doctype html>
2 <html>
3 <head>
4 <title>VideoStreamTrack is defined</title>
5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/>
6 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-VideoStreamTrack">
7 <link rel='stylesheet' href='../../../../../resources/testharness.css' media='all'/>
8 </head>
9 <body>
10
11 <h1 class="instructions" style="display:none">Description</h1>
12 <p class="instructions" style="display:none">This test verifies the availability of the VideoStreamTrack interface.</p>
13 <div id='log'></div>
14 <script src=../../../../../resources/testharness.js></script>
15 <script src=../../../../../resources/testharnessreport.js></script>
16 <script src=/resources/webidl2/lib/webidl2.js></script>
17 <script src=/resources/idlharness.js></script>
18 <script>
19 var idl_array = new IdlArray();
20 idl_array.add_idls("[Constructor(optional MediaTrackConstraints videoConstraints)]\
21 interface VideoStreamTrack : MediaStreamTrack {\
22     static sequence<DOMString> getSourceIds ();\
23 };");
24 idl_array.test();
25 </script>
26 </body>
27 </html>