Skip to content
Browse files

Adding html-media-capture test.

  • Loading branch information...
1 parent f906014 commit 361ff083dad227f9bca27e06bd0ac37f1762d804 @mattwkelly mattwkelly committed Apr 9, 2012
Showing with 24 additions and 0 deletions.
  1. +4 −0 tests/html-media-capture/config.yml
  2. +20 −0 tests/html-media-capture/test.js
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 361ff08

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