[common][crypto][modify 1 tc for spec change] 49/118349/1
authorzy123.yuan <zy123.yuan@samsung.com>
Fri, 10 Mar 2017 05:38:08 +0000 (13:38 +0800)
committerzy123.yuan <zy123.yuan@samsung.com>
Fri, 10 Mar 2017 05:38:16 +0000 (13:38 +0800)
Change-Id: Icd564583748977f5eb2b4804a26a4e624cb26e26
Signed-off-by: zy123.yuan <zy123.yuan@samsung.com>
common/tct-crypto-w3c-tests/crypto/Crypto_getRandomValues_array_TypeMismatch.html

index a77903ca559861520556d7de84f8a820a7d99710..39a905ce930a1cb863d4d21fad3ce3ed0d900aee 100755 (executable)
@@ -36,10 +36,10 @@ Authors:
 
 test(function () {
     assert_throws({name: "TypeMismatchError"}, function () {
-        window.crypto.getRandomValues(null);
+        window.crypto.getRandomValues(["a","b"]);
     }, "fail to get typemistake exception");
 }, document.title);
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>