Index: LayoutTests/imported/web-platform-tests/mediacapture-streams/stream-api/video-and-audio-tracks/videostreamtrack.html |
diff --git a/LayoutTests/imported/web-platform-tests/mediacapture-streams/stream-api/video-and-audio-tracks/videostreamtrack.html b/LayoutTests/imported/web-platform-tests/mediacapture-streams/stream-api/video-and-audio-tracks/videostreamtrack.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9d40bbffc7a6d50a84dbbc8262d56bed71c525a0 |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/mediacapture-streams/stream-api/video-and-audio-tracks/videostreamtrack.html |
@@ -0,0 +1,27 @@ |
+<!doctype html> |
+<html> |
+<head> |
+<title>VideoStreamTrack is defined</title> |
+<link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> |
+<link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-VideoStreamTrack"> |
+<link rel='stylesheet' href='../../../../../resources/testharness.css' media='all'/> |
+</head> |
+<body> |
+ |
+<h1 class="instructions" style="display:none">Description</h1> |
+<p class="instructions" style="display:none">This test verifies the availability of the VideoStreamTrack interface.</p> |
+<div id='log'></div> |
+<script src=../../../../../resources/testharness.js></script> |
+<script src=../../../../../resources/testharnessreport.js></script> |
+<script src=/resources/webidl2/lib/webidl2.js></script> |
+<script src=/resources/idlharness.js></script> |
+<script> |
+var idl_array = new IdlArray(); |
+idl_array.add_idls("[Constructor(optional MediaTrackConstraints videoConstraints)]\ |
+interface VideoStreamTrack : MediaStreamTrack {\ |
+ static sequence<DOMString> getSourceIds ();\ |
+};"); |
+idl_array.test(); |
+</script> |
+</body> |
+</html> |