Change-Id: I167a789b8b949305e81724ec01c859ebd2533334
Signed-off-by: mengli.zhang <mengli.zhang@samsung.com>
<div id="log"></div>
<script>
//==== PRIORITY P1
-
test(function () {
- check_unsupported("http://tizen.org/feature/camera", navigator.getUserMedia);
- }, document.title);
+ if (tizen.systeminfo.getCapability("http://tizen.org/feature/profile") != "TV"){
+ if(navigator.getUserMedia === undefined){
+ assert_false(false, "unsupported camera");
+ } else{
+ if (is_caps_supported_by_system_info("http://tizen.org/feature/camera") === false) {
+ assert_true(true, "unsupported camera");
+ }
+ }
+ }
+ });
</script>
</body>
-</html>
\ No newline at end of file
+</html>