--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Xiaochun Wang <xiaochn.wang@samsung.com>
+
+-->
+<html>
+<head>
+<title>Crypto_getRandomValues_array_TypeError</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: Crypto_getRandomValues_array_TypeError
+//==== LABEL check getRandomValues method with wrong type of array
+//==== SPEC Tizen Web API:TBD:CryptoApi:Crypto:getRandomValues M
+//==== SPEC_URL http://www.w3.org/TR/2014/CR-WebCryptoAPI-20141211/
+//==== PRIORITY P2
+//==== TEST_CRITERIA MC
+
+test(function () {
+ assert_throws({name: "TypeError"}, function () {
+ window.crypto.getRandomValues(["a","b"]);
+ }, "fail to get typeError exception");
+}, document.title);
+
+</script>
+</body>
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Xiaochun Wang <xiaochn.wang@samsung.com>
-
--->
-<html>
-<head>
-<title>Crypto_getRandomValues_array_TypeMismatch</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: Crypto_getRandomValues_array_TypeMismatch
-//==== LABEL check getRandomValues method with wrong type of array
-//==== SPEC Tizen Web API:TBD:CryptoApi:Crypto:getRandomValues M
-//==== SPEC_URL http://www.w3.org/TR/2014/CR-WebCryptoAPI-20141211/
-//==== PRIORITY P2
-//==== TEST_CRITERIA MC
-
-test(function () {
- assert_throws({name: "TypeMismatchError"}, function () {
- window.crypto.getRandomValues(["a","b"]);
- }, "fail to get typemistake exception");
-}, document.title);
-
-</script>
-</body>
-</html>
</spec>
</specs>
</testcase>
- <testcase purpose="check getRandomValues method with wrong type of array" type="compliance" status="approved" component="TizenAPI/TBD/CryptoApi" execution_type="auto" priority="P2" id="Crypto_getRandomValues_array_TypeMismatch">
+ <testcase purpose="check getRandomValues method with wrong type of array" type="compliance" status="approved" component="TizenAPI/TBD/CryptoApi" execution_type="auto" priority="P2" id="Crypto_getRandomValues_array_TypeError">
<description>
- <test_script_entry>/opt/tct-crypto-w3c-tests/crypto/Crypto_getRandomValues_array_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-crypto-w3c-tests/crypto/Crypto_getRandomValues_array_TypeError.html</test_script_entry>
</description>
<specs>
<spec>
<test_script_entry>/opt/tct-crypto-w3c-tests/crypto/Crypto_getRandomValues.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check getRandomValues method with wrong type of array" component="TizenAPI/TBD/CryptoApi" execution_type="auto" priority="P2" id="Crypto_getRandomValues_array_TypeMismatch">
+ <testcase purpose="check getRandomValues method with wrong type of array" component="TizenAPI/TBD/CryptoApi" execution_type="auto" priority="P2" id="Crypto_getRandomValues_array_TypeError">
<description>
- <test_script_entry>/opt/tct-crypto-w3c-tests/crypto/Crypto_getRandomValues_array_TypeMismatch.html</test_script_entry>
+ <test_script_entry>/opt/tct-crypto-w3c-tests/crypto/Crypto_getRandomValues_array_TypeError.html</test_script_entry>
</description>
</testcase>
<testcase purpose="check the getRandomValues exists " component="TizenAPI/TBD/CryptoApi" execution_type="auto" priority="P0" id="Crypto_getRandomValues_exist">