[common][7.5][gumallow] fix DPTTIZEN-3247 change according opensource TC 22/291122/2
authorchen <chen89.chen@samsung.com>
Mon, 10 Apr 2023 07:05:12 +0000 (15:05 +0800)
committerchen chen <chen89.chen@samsung.com>
Mon, 10 Apr 2023 07:45:22 +0000 (07:45 +0000)
Change-Id: I2cdb9cac8b4d19d439b2f2918b9dcf129598ef8a
Signed-off-by: chen <chen89.chen@samsung.com>
common/tct-gumallow-w3c-tests/gumallow/w3c/obtaining-local-multimedia-content/navigatorusermedia/getusermedia-impossible-constraint.html

index c0da3a918f4719b6b8a298bbf9ccea4451fd7d98..ebedebeca17b7ee0bd26a7ac4e35305a4652d202 100755 (executable)
@@ -20,7 +20,7 @@ constraint (width &gt;=0) in getUserMedia works</p>
 <script>
 var t = async_test("Tests that setting an impossible constraint in getUserMedia fails", {timeout:10000});
 t.step(function() {
-  navigator.getUserMedia({video: {mandatory: {width: {min:Infinity}}}}, t.step_func(function (stream) {
+  navigator.getUserMedia({video: {width: {min:100000000}}}, t.step_func(function (stream) {
     assert_unreached("a Video stream of infinite width cannot be created");
     t.done();
   }), t.step_func(function(error) {