[common][mediacapture][DPTTIZEN-3047, modify 2 tc due to spec change] 10/179510/1
authorzhongyuan <zy123.yuan@samsung.com>
Fri, 18 May 2018 08:55:33 +0000 (16:55 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Fri, 18 May 2018 08:55:33 +0000 (16:55 +0800)
Change-Id: Ic907695be19a4e68d30689c98ff305088ef085c6

common/tct-mediacapture-w3c-tests/mediacapture/HTMLInputElement_attribute.html
common/tct-mediacapture-w3c-tests/mediacapture/capture_reflect.html

index 25997986ba0b3394817fdc91b06b4101876ad9e0..61e4cef5598deacced355f80d7c20b91a7e997e1 100755 (executable)
@@ -58,7 +58,7 @@ Authors:
         }, "Check if the HTMLInputElement.capture attribute exists");
 
         test(function() {
-            assert_equals(typeof htmlInputElement.capture, "boolean", "the type of capture attribute");
+            assert_equals(typeof htmlInputElement.capture, "string", "the type of capture attribute");
         }, "Check if the type of HTMLInputElement.capture is boolean");
     </script>
   </body>
index 6018bb567099372f3ca75d9d4b479690de7bb495..72c5e986cf3d770088af0ed0fdd2d103555f1a9e 100755 (executable)
@@ -56,11 +56,11 @@ Authors:
     <div id='log'></div>
     <script>
       test(function() {
-        assert_equals(document.querySelector('#absent').capture, false, 'capture is false when the value is absent');
+        assert_equals(document.querySelector('#absent').capture, "", 'capture is false when the value is absent');
       }, 'input.capture is boolean when the capture attribute is absent');
 
       test(function() {
-        assert_equals(document.querySelector('#present').capture, true, 'capture is true when the value is present');
+        assert_equals(document.querySelector('#present').capture, "", 'capture is true when the value is present');
       }, 'input.capture is correct when the capture attribute is present');
     </script>
   </body>