Index: Source/modules/mediastream/HTMLMediaElementMediaStream.idl |
diff --git a/Source/bindings/tests/idls/TestInterfaceConstructor3.idl b/Source/modules/mediastream/HTMLMediaElementMediaStream.idl |
similarity index 87% |
copy from Source/bindings/tests/idls/TestInterfaceConstructor3.idl |
copy to Source/modules/mediastream/HTMLMediaElementMediaStream.idl |
index 19b6669a0e57ed612ba86fc12ddf6497c7495e6d..109d77090d5811312aee33dfa3935d0b41ab1c46 100644 |
--- a/Source/bindings/tests/idls/TestInterfaceConstructor3.idl |
+++ b/Source/modules/mediastream/HTMLMediaElementMediaStream.idl |
@@ -28,8 +28,10 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// Test for length > 0, non-overloaded constructor. |
+/* |
+// http://w3c.github.io/mediacapture-main/getusermedia.html#direct-assignment-to-media-elements |
[ |
- Constructor(DOMString stringArg), |
-] interface TestInterfaceConstructor3 { |
-}; |
+ RuntimeEnabled=MediaStream, |
+] partial interface HTMLMediaElement { |
+ attribute MediaStream? srcObject; |
+};*/ |