Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #30 from facebook/html-media-capture

Adding html-media-capture test.
  • Loading branch information...
commit b5b52e19c2ec8293f4187ffc8a733f7b78ac91d9 2 parents e041e68 + 361ff08
@darobin darobin authored
View
4 tests/html-media-capture/config.yml
@@ -0,0 +1,4 @@
+---
+ r: 1
+ spec: "http://www.w3.org/TR/html-media-capture/"
+ title: "Media Capture Input"
View
20 tests/html-media-capture/test.js
@@ -0,0 +1,20 @@
+test("Input File Capture", function() {
+ var input = document.createElement("input");
+
+ input.type = "file";
+
+ assert( "capture" in input, "input[type='file'].capture supported" );
+});
+
+// test("MediaFile", function() {
+// var MediaFile = H.API( window, "MediaFile", true );
+//
+// assert( !!MediaFile, "MediaFile exists" );
+// });
+//
+//
+// test("MediaFileData", function() {
+// var MediaFileData = H.API( window, "MediaFileData", true );
+//
+// assert( !!MediaFileData, "MediaFileData exists" );
+// });

0 comments on commit b5b52e1

Please sign in to comment.
Something went wrong with that request. Please try again.