moved to github https://github.com/w3c/web-platform-tests/tree/master/mediacapture-streams default tip
authorDominique Hazael-Massieux <dom@w3.org>
Tue, 02 Jul 2013 17:52:04 +0200 (2013-07-02)
changeset 80 a93343ad39f0
parent 79 f3d44d4cff69
moved to github https://github.com/w3c/web-platform-tests/tree/master/mediacapture-streams
submitted/W3C/assertions.txt
submitted/W3C/featuredetection.js
submitted/W3C/mediastreams-as-media-elements/video-assignment.html
submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/api-present.html
submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/deny.html
submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/empty-option-param.html
submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-impossible-constraint.html
submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-optional-constraint.html
submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-trivial-constraint.html
submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/unknownkey-option-param.html
submitted/W3C/prefix.js
submitted/W3C/stream-api/introduction/disabled-audio-silence.html
submitted/W3C/stream-api/introduction/disabled-video-black.html
submitted/W3C/stream-api/mediastream/audio.html
submitted/W3C/stream-api/mediastream/mediastream-addtrack.html
submitted/W3C/stream-api/mediastream/mediastream-finished-add.html
submitted/W3C/stream-api/mediastream/mediastream-gettrackid.html
submitted/W3C/stream-api/mediastream/mediastream-id.html
submitted/W3C/stream-api/mediastream/mediastream-removetrack.html
submitted/W3C/stream-api/mediastream/stream-ended.html
submitted/W3C/stream-api/mediastream/video.html
submitted/W3C/stream-api/mediastreamtrack/mediastreamtrack-end.html
submitted/W3C/stream-api/mediastreamtrack/mediastreamtrack-init.html
submitted/W3C/stream-api/video-and-audio-tracks/audiostreamtrack.html
submitted/W3C/stream-api/video-and-audio-tracks/videostreamtrack.html
--- a/submitted/W3C/assertions.txt	Fri Jun 07 20:24:55 2013 +0900
+++ b/submitted/W3C/assertions.txt	Tue Jul 02 17:52:04 2013 +0200
@@ -66,3 +66,20 @@
 
 * When track constraints change, a user agent must queue a task to evaluate those changes when the task queue is next serviced
 > lacks proper algorithm, see https://www.w3.org/Bugs/Public/show_bug.cgi?id=22273
+
+* idl
+= mediastreamtrack-init.html
+
+* If the track (audio or video) is backed by a read-only source such as a file, or the track source is a local microphone or camera, but is shared so that this track cannot modify any of the source's settings, the readonly attribute MUST return the value true.
+> unclear what it means to be a read-only track see https://www.w3.org/Bugs/Public/show_bug.cgi?id=22243
+
+* The MediaStreamTrack.enabled attribute, on getting, MUST return the last value to which it was set. On setting, it MUST be set to the new value, and then, if the MediaStreamTrack object is still associated with a track, MUST enable the track if the new value is true, and disable it otherwise.
+= stream-api/introduction/disabled-video-black.html
+= stream-api/introduction/disabled-audio-silence.html
+
+* Unless a MediaStreamTrack object is created as a part a of special purpose algorithm that specifies how the track id must be initialized, the user agent MUST generate a globally unique identifier string and initialize the object's id attribute to that string.
+? test webrtc obtained mediastreamtrack id
+
+* The MediaStreamTrack.kind attribute MUST return the string "audio" if the object represents an audio track or "video" if object represents a video track.
+= stream-api/mediastream/video.html
+= stream-api/mediastream/audio.html
--- a/submitted/W3C/featuredetection.js	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-// 2012-01-27
-//  The code below has been stolen from Microsoft's submission tests to the Page Visibility
-//  specification. Thanks!
-
-
-// This function returns the value of an API feature if it is defined with one of
-// the known ventor prefixes. 
-//
-// Parameters:
-//  parent: the object containing the API feature
-//  feature: the name of the API feature, this should be a string value
-//  isAttribute: set this to true to indicate that this is a constant attribute
-//               as opposed to a variable
-function BrowserHasFeature(parent, feature, isAttribute)
-{
-    if (parent[feature] !== undefined)
-    {
-        //feature is defined without a vendor prefix, no further checks necessary
-        return parent[feature];
-    }
-
-    // the feature is not defined without a vendor prefix, so find the vendor prefix, if any,
-    // that it is defined with
-    var prefix = GetVendorPrefix(parent, feature, isAttribute);
-    
-    // if prefix is not undefined, then the feature has been found to exist with this prefix
-    if (prefix !== undefined)
-    {
-        var prefixedFeatureName = AppendPrefix(prefix, feature, isAttribute);
-        return parent[prefixedFeatureName];
-    }
-
-    //The feature does not exist.
-    //Callers should check for !==undefined as the feature itself could return
-    //a Bool which would fail a typical if(feature) check
-    return undefined;
-}
-
-// returns the name of the feature in the said browser
-function FeatureNameInBrowser(parent, feature, isAttribute)
-{
-    if (parent[feature] !== undefined)
-    {
-        //feature is defined without a vendor prefix, no further checks necessary
-        return feature;
-    }
-
-    // the feature is not defined without a vendor prefix, so find the vendor prefix, if any,
-    // that it is defined with
-    var prefix = GetVendorPrefix(parent, feature, isAttribute);
-    
-    // if prefix is not undefined, then the feature has been found to exist with this prefix
-    if (prefix !== undefined)
-    {
-        var prefixedFeatureName = AppendPrefix(prefix, feature, isAttribute);
-        return prefixedFeatureName;
-    }
-
-    //The feature does not exist.
-    //Callers should check for !==undefined as the feature itself could return
-    //a Bool which would fail a typical if(feature) check
-    return undefined;
-}
-
-
-// This function returns the vendor prefix found if a certain feature is defined with it.
-// It takes the same parameters at BrowserHasFeature().
-function GetVendorPrefix(parent, feature, isAttribute)
-{
-    //Known vendor prefixes
-    var VendorPrefixes = ["moz", "ms", "o", "webkit"];
-    for (vendor in VendorPrefixes)
-    {
-        //Build up the new feature name with the vendor prefix
-        var prefixedFeatureName = AppendPrefix(VendorPrefixes[vendor], feature, isAttribute);
-        if (parent[prefixedFeatureName] !== undefined)
-        {
-            //Vendor prefix version exists, return a pointer to the feature
-            return VendorPrefixes[vendor];
-        }
-    }
-    
-    // if no version of the feature with a vendor prefix has been found, return undefined
-    return undefined;
-}
-
-// This will properly capitalize the feature name and then return the feature name preceded
-// with the provided vendor prefix. If the prefix given is undefined, this function will
-// return the feature name given as is. The output of this function should not be used
-// as an indicator of whether or not a feature exists as it will return the same thing if
-// the inputted feature is undefined or is defined without a vendor prefix. It takes the 
-// same parameters at BrowserHasFeature().
-function AppendPrefix(prefix, feature, isAttribute)
-{
-    if (prefix !== undefined)
-    {
-        if (isAttribute)
-        {
-            // if a certain feature is an attribute, then it follows a different naming standard
-            // where it must be completely capitalized and have words split with an underscore
-            return prefix.toUpperCase() + "_" + feature.toUpperCase();
-        }
-        else
-        {
-            //Vendor prefixing should follow the standard convention: vendorprefixFeature
-            //Note that the feature is capitalized after the vendor prefix
-            //Therefore if the feature is window.feature, the vendor prefix version is:
-            //window.[vp]Feature where vp is the vendor prefix: 
-            //window.msFeature, window.webkitFeature, window.mozFeature, window.oFeature
-            var newFeature = feature[0].toUpperCase() + feature.substr(1, feature.length);
-
-            //Build up the new feature name with the vendor prefix
-            return prefix + newFeature;
-        }
-    }
-    else
-    {
-        return feature;
-    }
-}
\ No newline at end of file
--- a/submitted/W3C/mediastreams-as-media-elements/video-assignment.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Assigning mediastream to a video element</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that the MediaStream object returned by the success callback in getUserMedia can be properly assigned to a video element via the <code>srcObject</code> attribute.</p>
-
-<video id="vid"></video>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../featuredetection.js></script>
-<script src=../prefix.js></script>
-<script>
-var vid = document.getElementById("vid");
-var t = async_test("Tests that a MediaStream can be assigned to a video element with srcObject", {timeout: 10000});
-t.step(function() {
-  navigator.getUserMedia({video: true}, t.step_func(function (stream) {
-    // TODO remove when prefixes are gone
-    var srcObjName = FeatureNameInBrowser(vid, "srcObject");
-    var testOncePlaying = function() {
-       assert_equals(vid.played.length, 1, "A MediaStream's timeline always consists of a single range");
-       assert_equals(vid.played.start(0), 0, "A MediaStream's timeline always consists of a single range");
-       assert_equals(vid.played.end(0), vid.currentTime, "A MediaStream's timeline always consists of a single range");
-       assert_equals(vid.readyState, vid.HAVE_ENOUGH_DATA, "Upon selecting a media stream, the UA sets readyState to HAVE_ENOUGH_DATA");
-       var time = vid.currentTime;
-       // not as in spec yet, see https://www.w3.org/Bugs/Public/show_bug.cgi?id=22249
-       assert_throws("INVALID_STATE_ERR", function() {
-          vid.currentTime = 0;
-       });
-       assert_equals(vid.currentTime, time, "The UA MUST ignore attempts to set the currentTime attribute");
-       // TODO add test that duration must be set to currentTime 
-       // when mediastream is destroyed
-       vid.removeEventListener("timeupdate", testOncePlaying, false);
-       t.done();       
-    }
-    vid.addEventListener("timeupdate", t.step_func(testOncePlaying), false);
-    vid[srcObjName] = stream;
-    vid.play();
-    assert_true(!vid.seeking, "A MediaStream is not seekable");
-    assert_equals(vid.seekable.length, 0, "A MediaStream is not seekable");
-    assert_equals(vid.defaultPlaybackRate, 1, "playback rate is always 1");
-    assert_equals(vid.playbackRate, 1, "playback rate is always 1");
-    // TODO re-enable after resolution of see https://www.w3.org/Bugs/Public/show_bug.cgi?id=22247#c1 ?
-    // assert_equals(vid.preload, "none", "A MediaStream cannot be preloaded.");
-    // not as in spec, see https://www.w3.org/Bugs/Public/show_bug.cgi?id=22246
-    assert_equals(vid.buffered.length, 0, "A MediaStream cannot be preloaded.  Therefore, there is no buffered timeranges");
-    assert_equals(vid.duration, Infinity, " A MediaStream does not have a pre-defined duration. ");
-    assert_equals(vid.startDate, NaN, " A MediaStream does not specify a timeline offset");
-    assert_true(!vid.loop, "A MediaStream cannot be looped");
-    vid.loop = true;
-    // not sure about that one https://www.w3.org/Bugs/Public/show_bug.cgi?id=22247
-    //assert_true(!vid.loop, "Setting looped to true in a MediaStream is a no-op");
-  }), function(error) {});
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/api-present.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia: test that getUserMedia is present (with or without vendor prefix)</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#navigatorusermedia">
-<meta name='assert' content='Check that the getUserMedia() method is present.'/>
-<meta name='flags' content='vendor-prefix, dom'/>
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<h1>Description</h1>
-<p>This test checks for the presence of the <code>navigator.getUserMedia</code> method, taking vendor prefixes into account.</p>
-    <div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script>
-test(function () {
-          assert_true(undefined !== BrowserHasFeature(navigator, "getUserMedia"), "navigator.getUserMedia exists");
-      }, "getUserMedia() is present on navigator");
-</script>
-</body>
-</html>
--- a/submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/deny.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<!doctype html>
-<html>
-<head>
-  <title>getUserMedia() triggers error callback when auth is denied</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, <strong>please deny</strong> access to the video stream.</p>
-<h1>Description</h1>
-<p>This test checks that the error callback is triggered when user denies access to the video stream.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that the error callback is triggered when permission is denied", {timeout:10000});
-t.step(function() {
-  navigator.getUserMedia({video: true}, t.step_func(function (stream) {
-    assert_unreached("The success callback should not be triggered since access is to be denied");
-    t.done();
-  }),
-  t.step_func(function (error) {
-    assert_equals(error.name, "PermissionDenied", "Permission denied error returned"); // see https://www.w3.org/Bugs/Public/show_bug.cgi?id=22216
-    assert_equals(error.constraintName, null, "constraintName attribute not set for permission denied");    
-    t.done();
-  }));
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/empty-option-param.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia({}) aborts with NOT_SUPPORTED_ERR</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<h1>Description</h1>
-<p>This test checks that getUserMedia with no value in the options parameter raises a NOT_SUPPORTED_ERR exception.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that getUserMedia raises a NOT_SUPPORTED_ERR exception when used with an empty options parameter");
-t.step( function () {
-  assert_throws("NOT_SUPPORTED_ERR", 
-    function () { 
-      navigator.getUserMedia({}, function (stream) {
-        assert_unreached("This should never be triggered since the constraints parameter is empty");
-        t.done();
-      }, function (error) {
-        assert_unreached("This should never be triggered since the constraints parameter is empty");
-         });
-  });
-  t.done();
-});
-
-</script>
-</body>
-</html>
--- a/submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-impossible-constraint.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Trivial mandatory constraint in getUserMedia</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that setting a trivial mandatory constraint (width &gt;=0) in getUserMedia works</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that setting a trivial mandatory constraint in getUserMedia works", {timeout:10000});
-t.step(function() {
-  navigator.getUserMedia({video: {mandatory: {width: {min:Infinity}}}}, t.step_func(function (stream) {
-    assert_unreached("a Video stream of infinite width cannot be created");
-    t.done();
-  }), t.step_func(function(error) {
-    console.log(error);
-    assert_equals(error.name, "ContraintNotSatisfied", "An impossible constraint triggers a ContraintNotSatified error");
-    assert_equals(error.constraintName, "width", "The name of the not satisfied error is given in error.constraintName");
-    t.done();
-  }));
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-optional-constraint.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Optional constraint recognized as optional in getUserMedia</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that setting an optional constraint in getUserMedia is handled as optional</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that setting an optional constraint in getUserMedia is handled as optional", {timeout:10000});
-t.step(function() {
-  navigator.getUserMedia({video: {optional: [{width: {min:1024}}, {width: {max: 800}}]}}, t.step_func(function (stream) {
-    assert_equals(stream.getVideoTracks().length, 1, "the media stream has exactly one video track");
-    t.done();
-  }), t.step_func(function(error) {
-    assert_unreached("an optional constraint can't prevent the obtention of a video stream");
-    t.done();
-  }));
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-trivial-constraint.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Trivial mandatory constraint in getUserMedia</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that setting a trivial mandatory constraint (width &gt;=0) in getUserMedia works</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that setting a trivial mandatory constraint in getUserMedia works", {timeout:10000});
-t.step(function() {
-  navigator.getUserMedia({video: {mandatory: {width: {min:0}}}}, t.step_func(function (stream) {
-    assert_equals(stream.getVideoTracks().length, 1, "the media stream has exactly one video track");
-    t.done();
-  }), t.step_func(function(error) {
-    assert_unreached("a Video stream of minimally zero width can always be created");
-    t.done();
-  }));
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/obtaining-local-multimedia-content/navigatorusermedia/unknownkey-option-param.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia({doesnotexist:true}) aborts with NOT_SUPPORTED_ERR</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<h1>Description</h1>
-<p>This test checks that getUserMedia with an unknown value in the options parameter raises a NOT_SUPPORTED_ERR exception.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-test(function () {
-  assert_throws("NOT_SUPPORTED_ERR", 
-    function () { 
-      navigator.getUserMedia({doesnotexist:true}, function (stream) {}, function (error) {});
-    }
-  )
-  }
-);
-
-</script>
-</body>
-</html>
--- a/submitted/W3C/prefix.js	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-var api = BrowserHasFeature(navigator, "getUserMedia");
-if (!window.navigator.getUserMedia && undefined !== api) {
-   window.navigator.getUserMedia = api;
-} 
--- a/submitted/W3C/stream-api/introduction/disabled-audio-silence.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>A disabled audio track is rendered as silence</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your audio stream.</p>
-<h1>Description</h1>
-<p>This test checks that a disabled audio track in a MediaStream is rendered as silence. It relies on the <a href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html">Web Audio API</a>.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that a disabled audio track in a MediaStream is rendered as silence", {timeout: 200000});
-var aud = document.getElementById("aud");
-t.step(function() {
-  navigator.getUserMedia({audio: true}, t.step_func(function (stream) {
-    // TODO remove when prefixes are gone
-    var api = BrowserHasFeature(window, "AudioContext");
-    if (!window.AudioContext && undefined !== api) {
-       window.AudioContext = api;
-    } 
-    var ctx = new AudioContext();
-    var streamSource = ctx.createMediaStreamSource(stream);
-    var silenceDetector = ctx.createScriptProcessor(1024);
-    var count = 10;
-    silenceDetector.onaudioprocess = t.step_func(function (e) { 
-       var buffer1 = e.inputBuffer.getChannelData(0);   
-       var buffer2 = e.inputBuffer.getChannelData(1);  
-       var out = e.outputBuffer.getChannelData(0);
-       out = new Float32Array(buffer1);
-       for (var i = 0; i < buffer1.length; i++) {
-          assert_equals(buffer1[i], 0, "Audio buffer entry #" + i + " in channel 0 is silent");
-       }
-       for (var i = 0; i < buffer2.length; i++) {
-          assert_equals(buffer2[i], 0, "Audio buffer entry #" + i + " in channel 1 is silent");
-       }
-       count--;
-       if (count === 0) {
-         silenceDetector.onaudioprocess = null;
-         t.done();
-        }
-    });
-    stream.getAudioTracks()[0].enabled = false;
-
-    streamSource.connect(silenceDetector);
-    silenceDetector.connect(ctx.destination);
-  }), function(error) {});
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/introduction/disabled-video-black.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>A disabled video track is rendered as blackness</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that a disabled video track in a MediaStream is rendered as blackness.</p>
-<video id="vid"></video>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var vid = document.getElementById("vid");
-var cv = document.createElement("canvas");
-var t = async_test("Tests that a disabled video track in a MediaStream is rendered as blackness", {timeout: 10000});
-t.step(function() {
-  navigator.getUserMedia({video: true}, t.step_func(function (stream) {
-    // TODO remove when prefixes are gone
-    var srcObjName = FeatureNameInBrowser(vid, "srcObject");
-    var testOncePlaying = function() {
-       vid.removeEventListener("timeupdate", testOncePlaying, false);
-       stream.getVideoTracks()[0].enabled = false;
-       cv.width = vid.offsetWidth;
-       cv.height = vid.offsetHeight;
-       var ctx = cv.getContext("2d");
-       ctx.drawImage(vid,0,0);
-       var imageData = ctx.getImageData(0, 0, cv.width, cv.height);
-       for (var i = 0; i < imageData.data.length; i+=4) {
-	   assert_equals(imageData.data[i], 0, "No red component in pixel #" + i);
-	   assert_equals(imageData.data[i + 1], 0, "No green component in pixel #" + i);
-	   assert_equals(imageData.data[i + 2], 0, "No blue component in pixel #" + i);
-	   assert_equals(imageData.data[i + 3], 255, "No transparency in pixel #" + i);
-       }
-       t.done();
-    }
-    vid[srcObjName] = stream;
-    vid.play();
-    vid.addEventListener("timeupdate", t.step_func(testOncePlaying), false);
-
-  }), function(error) {});
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/audio.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia({audio:true}) creates a stream with at least an audio track</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your audio stream.</p>
-<h1>Description</h1>
-<p>This test checks that the MediaStream object returned by the success callback in getUserMedia has exactly one audio track.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var astream;
-var t = async_test("Tests that a MediaStream with exactly one audio track is returned", {timeout: 10000});
-t.step(function() {
-  navigator.getUserMedia({audio:true}, t.step_func(function (stream) {
-    astream = stream;
-    assert_true(stream instanceof MediaStream, "getUserMedia success callback comes with a MediaStream object");
-    assert_equals(stream.getAudioTracks().length, 1, "the media stream has exactly one audio track");
-    assert_equals(stream.getAudioTracks()[0].kind, "audio", "getAudioTracks() returns a sequence of tracks whose kind is 'audio'");
-    assert_equals(stream.getVideoTracks().length, 0, "the media stream has zero video track");
-    t.done();
-  }));
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/mediastream-addtrack.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Adding a track to a MediaStream</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#widl-MediaStreamTrackList-add-void-MediaStreamTrack-track">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your audio stream, then your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that adding a track to a MediaStream works as expected.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that adding a track to a MediaStream works as expected", {timeout: 20000}); // longer timeout since requires double user interaction
-t.step(function () {
-  var audio, video;
-
-  navigator.getUserMedia({audio: true}, gotAudio, function(error) {});
-  function gotAudio(stream) {
-    audio = stream;
-    navigator.getUserMedia({video: true}, gotVideo, function(error) {});
-  }
-
-  function gotVideo(stream) {
-    video = stream;
-    t.step(function () {
-       assert_equals(video.getAudioTracks().length, 0, "video mediastream starts with no audio track");
-       video.addTrack(audio.getAudioTracks()[0]);
-       assert_equals(video.getAudioTracks().length, 1, "video mediastream has now one audio track");
-       video.addTrack(audio.getAudioTracks()[0]);
-       assert_equals(video.getAudioTracks().length, 1, "video mediastream still has one audio track"); // If track is already in stream's track set, then abort these steps.
-
-    });
-    audio.onaddtrack = t.step_func(function () {
-       assert_unreached("onaddtrack is not fired when the script directly modified the track of a mediastream");
-    });
-    t.step(function () {
-       assert_equals(audio.getVideoTracks().length, 0, "audio mediastream starts with no video track");
-       audio.addTrack(video.getVideoTracks()[0]);
-       assert_equals(audio.getVideoTracks().length, 1, "audio mediastream now has one video track");
-    });
-    t.step(function () {
-       t.done();
-    });
-  }
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/mediastream-finished-add.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Adding a track to a finished MediaStream</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#widl-MediaStreamTrackList-add-void-MediaStreamTrack-track">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your audio stream, then your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that adding a track to a finished MediaStream raises an INVALID_STATE_ERR exception.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that an addition to a finished MediaStream raises an exception", {timeout:20000});
-t.step(function () {
-  var audio, video;
-
-  navigator.getUserMedia({audio:true}, gotAudio, function() {});
-  function gotAudio(stream) {
-    audio = stream;
-    navigator.getUserMedia({video:true}, gotVideo, function() {});
-  }
-
-  function gotVideo(stream) {
-    video = stream;
-    t.step(function () {
-       audio.getAudioTracks()[0].stop();
-       assert_true(audio.ended, "Audio stream is ended after stopping its only audio track");
-       assert_throws("INVALID_STATE_ERR", function () {
-          video.addTrack(audio.getAudioTracks()[0]);
-          }, "Adding a track from a finished stream raises an INVALID_STATE_ERR exception");
-       assert_throws("INVALID_STATE_ERR", function () {
-          audio.removeTrack(audio.getAudioTracks()[0]);
-          }, "Removing a track from a finished stream raises an INVALID_STATE_ERR exception");
-     });
-    t.done();
-  }
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/mediastream-gettrackid.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Retrieving a track from a MediaStream</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#widl-MediaStreamTrackList-add-void-MediaStreamTrack-track">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that MediaStream.getTrackById behaves as expected</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that MediaStream.getTrackById works as expected", {timeout: 10000});
-t.step(function () {
-  navigator.getUserMedia({video: true}, t.step_func(gotVideo), function(error) {});
-  function gotVideo(stream) {
-    var track = stream.getVideoTracks()[0];
-    assert_equals(track, stream.getTrackById(track.id), "getTrackById returns track of given id");
-    assert_equals(stream.getTrackById(track.id + "foo"), null, "getTrackById of inexistant id  returns null");
-    t.done();
-  }
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/mediastream-id.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia() creates a stream with a proper id</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that the MediaStream object returned by the success callback in getUserMedia has a correct id.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that a MediaStream with a correct id is returned");
-var allowedCharacters = /^[\u0021\u0023-\u0027\u002A-\u002B\u002D-\u002E\u0030-\u0039\u0041-\u005A\u005E-\u007E]*$/;
-if (window.navigator.getUserMedia) { 
-  navigator.getUserMedia({video:true}, function (stream) {
-  t.step(function () { 
-     assert_true(stream.id.length === 36, "the media stream id has 36 characters");
-     assert_regexp_match(stream.id, allowedCharacters, "the media stream id uses the set of allowed characters");
-  });
-  t.done();
-});
-}
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/mediastream-removetrack.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Removing a track from a MediaStream</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#widl-MediaStreamTrackList-remove-void-MediaStreamTrack-track">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your audio stream, then your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that removinging a track from a MediaStream works as expected.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that a removal from a MediaStream works as expected", {timeout:10000});
-t.step(function () {
-  var audio;
-  navigator.getUserMedia({audio:true}, gotAudio, function() {});
-  function gotAudio(stream) { 
-     audio = stream;
-     navigator.getUserMedia({video:true}, gotVideo, function() {});
-  }
-
-  function gotVideo(stream) {
-    console.log(stream);
-    var video = stream;
-    console.log(video);
-    video.onremovetrack = function () {
-       assert_unreached("onremovetrack is not triggered when removal of track is triggered by the script itself");
-    };
-    t.step(function () {
-       assert_equals(video.getVideoTracks().length, 1, "video mediastream starts with one video track");
-       video.removeTrack(video.getVideoTracks()[0]);
-       assert_equals(video.getVideoTracks().length, 0, "video mediastream has no video track left");
-       video.removeTrack(audio.getAudioTracks()[0]); // should not throw
-    });
-    t.step(function() {
-       t.done();
-   });
-  }
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/stream-ended.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia({video:true}) creates a stream with ended set to false</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#attributes">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that the MediaStream object returned by the success callback in getUserMedia has a ended set to false at start, and triggers "onended" when it is set to true.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that a MediaStream handles ended correctly", {timeout:10000});
-t.step(function () {
-  navigator.getUserMedia({video:true}, t.step_func(function (stream) {
-    assert_true(!stream.ended, "the media stream starts with ended set to false");
-    stream.addEventListener("ended", t.step_func(function() {
-      assert_true(stream.ended, "stream.ended now set to true");
-      t.done();
-      }), false);
-    stream.ended = true;
-    assert_true(!stream.ended, "stream.ended should remain false");
-    stream.getVideoTracks()[0].stop();
-  }), function (error) {});
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastream/video.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia({video:true}) creates a stream with one video track</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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that the MediaStream object returned by the success callback in getUserMedia has exactly one video track and no audio.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that a MediaStream with at least one video track is returned");
-t.step(function() {
-  navigator.getUserMedia({video: true}, t.step_func(function (stream) {
-    assert_true(stream instanceof MediaStream, "getUserMedia success callback comes with a MediaStream object");
-    assert_equals(stream.getAudioTracks().length, 0, "the media stream has zero audio track");
-    assert_equals(stream.getVideoTracks().length, 1, "the media stream has exactly one video track");
-    assert_equals(stream.getVideoTracks()[0].kind, "video", "getAudioTracks() returns a sequence of tracks whose kind is 'video'");
-    t.done();
-  }), function(error) {});
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastreamtrack/mediastreamtrack-end.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>Test that mediastreamtrack are properly ended</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#mediastreamtrack">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video and audio stream, and then revoke that permission.</p>
-<h1>Description</h1>
-<p>This test checks that the video and audio tracks of MediaStream object returned by the success callback in getUserMedia are correctly set into ended state when permission is revoked.</p>
-
-<div id='log'></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that the video MediaStreamTrack objects are properly ended on permission revocation", {timeout: 20000}); // longer timeout since requires user interaction
-t.step(function () {
-  navigator.getUserMedia({audio: true,video: true}, t.step_func(function (stream) {
-    var vidTrack = stream.getVideoTracks()[0];
-    assert_equals(vidTrack.readyState, "live", "The video track object is in live state");
-    var audTrack = stream.getAudioTracks()[0];
-    assert_equals(audTrack.readyState, "live", "The audio track object is in live state");
-    vidTrack.onended = t.step_func(function () { 
-        assert_equals(vidTrack.readyState, "ended", "Video track has been ended as expected");
-        assert_equals(audTrack.readyState, "ended", "Audio track has been ended as expected");
-        assert_true(stream.ended, "MediaStream has been ended as expected");
-        t.done();
-      });
-    }), function (error) {}
-  );
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/mediastreamtrack/mediastreamtrack-init.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>getUserMedia({video:true}) creates a stream with a properly initialized video track</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#mediastreamtrack">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-<p>When prompted, accept to share your video stream.</p>
-<h1>Description</h1>
-<p>This test checks that the video track of MediaStream object returned by the success callback in getUserMedia is correctly initialized.</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 src=../../featuredetection.js></script>
-<script src=prefix.js></script>
-<script>
-var t = async_test("Tests that the video MediaStreamTrack objects are properly initialized", {timeout:10000});
-var track = null
-var idl_array = new IdlArray();
-idl_array.add_idls("interface EventTarget {\
-  void addEventListener(DOMString type, EventListener? callback, optional boolean capture = false);\
-  void removeEventListener(DOMString type, EventListener? callback, optional boolean capture = false);\
-  boolean dispatchEvent(Event event);\
-};");
-
-/*idl_array.add_idls("callback interface EventListener {\
-  void handleEvent(Event event);\
-};");*/
-idl_array.add_idls("interface MediaStreamTrack : EventTarget {\
-    readonly    attribute DOMString             kind;\
-    readonly    attribute DOMString             id;\
-    readonly    attribute DOMString             label;\
-                attribute boolean               enabled;\
-    readonly    attribute boolean               muted;\
-                attribute EventHandler          onmute;\
-                attribute EventHandler          onunmute;\
-    readonly    attribute boolean               _readonly;\
-    readonly    attribute boolean               remote;\
-    readonly    attribute MediaStreamTrackState readyState;\
-                attribute EventHandler          onstarted;\
-                attribute EventHandler          onended;\
-    static sequence<SourceInfo>                    getSourceInfos ();\
-    MediaTrackConstraints?                         constraints ();\
-    MediaSourceStates                              states ();\
-    (AllVideoCapabilities or AllAudioCapabilities) capabilities ();\
-    void                                           applyConstraints (MediaTrackConstraints constraints);\
-                attribute EventHandler          onoverconstrained;\
-    MediaStreamTrack                               clone ();\
-    void                                           stop ();\
-};");
-
-t.step(function () {
-  navigator.getUserMedia({video: true}, t.step_func(function (stream) {
-    var videoTracks = stream.getVideoTracks();
-    assert_equals(videoTracks.length, 1, "There is exactly one video track in the media stream");
-    track = videoTracks[0];
-    assert_equals(track.readyState, "live", "The track object is in live state");
-    assert_equals(track.kind, "video", "The track object is of video kind");
-    assert_true(track.enabled, "The track object is enabed"); // Not clear that this is required by the spec, see https://www.w3.org/Bugs/Public/show_bug.cgi?id=22212
-    idl_array.add_objects({MediaStreamTrack: ["track"]});
-    idl_array.test();
-
-    t.done();
-  }), function (error) {});
-});
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/video-and-audio-tracks/audiostreamtrack.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<title>AudioStreamTrack 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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-
-<h1>Description</h1>
-<p>This test verifies the availability of the AudioStreamTrack 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 audioConstraints)]\
-interface AudioStreamTrack : MediaStreamTrack {\
-    static sequence<DOMString> getSourceIds ();\
-};");
-idl_array.test();
-</script>
-</body>
-</html>
--- a/submitted/W3C/stream-api/video-and-audio-tracks/videostreamtrack.html	Fri Jun 07 20:24:55 2013 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<!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#navigatorusermedia">
-<link rel='stylesheet' href='/resources/testharness.css' media='all'/>
-</head>
-<body>
-
-<h1>Description</h1>
-<p>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>