+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Qunfang Lin <qunfang.lin@samsung.com>
--->
-
-<html>
-<head>
-<title>IDBFactory_webkitGetDatabaseNames_base</title>
-<meta charset="utf-8"/>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="support/util.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: IDBFactory_webkitGetDatabaseNames_base
-//==== LABEL Check if the IDBFactory::webkitGetDatabaseNames method works normally
-//==== PRIORITY P1
-//==== SPEC Web API:Storage:IndexedDatabaseAPI:IDBFactory:webkitGetDatabaseNames M
-//==== SPEC_URL http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#idl-def-IDBFactory
-//==== TEST_CRITERIA MR
-
-test(function() {
- var retVal;
-
- if (!window.indexedDB) {
- assert_unreached("The browser does not support indexedDB attribute");
- } else {
- retVal = window.indexedDB.webkitGetDatabaseNames();
- assert_equals(typeof retVal, "object", "Check if the return type of IDBFactory.webkitGetDatabaseNames is object");
- assert_true(retVal instanceof IDBRequest, "Check if the return type of IDBFactory.webkitGetDatabaseNames is IDBRequest object");
- }
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 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:
- Qunfang Lin <qunfang.lin@samsung.com>
--->
-
-<html>
-<head>
-<title>IDBFactory_webkitGetDatabaseNames_exist</title>
-<meta charset="utf-8"/>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="support/util.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: IDBFactory_webkitGetDatabaseNames_exist
-//==== LABEL Check if the IDBFactory::webkitGetDatabaseNames method exists
-//==== PRIORITY P0
-//==== SPEC Web API:Storage:IndexedDatabaseAPI:IDBFactory:webkitGetDatabaseNames M
-//==== SPEC_URL http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#idl-def-IDBFactory
-//==== TEST_CRITERIA ME
-
-test(function() {
- assert_true(indexedDB instanceof IDBFactory && "webkitGetDatabaseNames" in indexedDB, "The method webkitGetDatabaseNames() does not exist");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2014 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this lis
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work withou
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Liu,Chunting <chuntingx.liu@intel.com>
- Xie,Yunxiao <yunxiaox.xie@intel.com>
-
--->
-
-<meta charset="utf-8">
-<title>IndexDB Test: IDBIndex_name_readonly</title>
-<link rel="author" title="Intel" href="http://www.intel.com">
-<link rel="help" href="http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#widl-IDBIndex-name">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="support/util.js"></script>
-<div id="log"></div>
-<script>
- async_test(function (t) {
- var rqDelete = window.indexedDB.deleteDatabase(dbname);
- rqDelete.onsuccess = t.step_func(function () {
- var rqOpen = window.indexedDB.open(dbname, dbVersion);
- if (typeof rqOpen.onupgradeneeded == "undefined") {
- assert_unreached("The onupgradeneeded attribute does not exist");
- t.done();
- }
- rqOpen.onupgradeneeded = t.step_func(function (event) {
- db = event.target.result;
- if (objectStoreName == db.objectStoreNames[0]) {
- db.deleteObjectStore(objectStoreName);
- }
- var objStore = db.createObjectStore(objectStoreName, {keyPath : "key"});
- var index = objStore.createIndex("index", "indexedProperty", {multientry : true});
- var initail_name = index.name;
- index.name = initail_name + "index";
- assert_true(index.name == initail_name && index.name != (initail_name + "index"));
- t.done();
- });
- rqOpen.onerror = t.step_func(open_request_error);
- });
-
- add_completion_callback(function() {
- if (db) {
- db.close();
- }
- });
- }, "Check if IDBIndex.name attribute is readonly");
-</script>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2014 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this lis
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work withou
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Liu,Chunting <chuntingx.liu@intel.com>
- Xie,Yunxiao <yunxiaox.xie@intel.com>
-
--->
-
-<meta charset="utf-8">
-<title>IndexDB Test: IDBObjectStore_name_readonly</title>
-<link rel="author" title="Intel" href="http://www.intel.com">
-<link rel="help" href="http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#widl-IDBObjectStore-name">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="support/util.js"></script>
-<div id="log"></div>
-<script>
- async_test(function (t) {
- var rqDelete = window.indexedDB.deleteDatabase(dbname);
- rqDelete.onsuccess = t.step_func(function () {
- var rqOpen = window.indexedDB.open(dbname, dbVersion);
- if (typeof rqOpen.onupgradeneeded == "undefined") {
- assert_unreached("The onupgradeneeded attribute does not exist");
- t.done();
- }
- rqOpen.onupgradeneeded = t.step_func(function (event) {
- db = event.target.result;
- if (objectStoreName == db.objectStoreNames[0]) {
- db.deleteObjectStore(objectStoreName);
- }
- var objStore = db.createObjectStore(objectStoreName, {keyPath : "key"}, {indexNames : "jkfhgufhg"});
- var initial_objStoreName = objStore.name;
- objStore.name = initial_objStoreName + "1";
- assert_true(objStore.name == initial_objStoreName && objStore.name != (initial_objStoreName + "1"));
- t.done();
- });
- rqOpen.onerror = t.step_func(open_request_error);
- });
-
- add_completion_callback(function() {
- if (db) {
- db.close();
- }
- });
- }, "Check if IDBObjectStore.name attribute is readonly");
-</script>
\ No newline at end of file
</spec>
</specs>
</testcase>
- <testcase purpose="Check if IDBIndex.name attribute is readonly" type="compliance" status="approved" component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" priority="P1" id="IDBIndex_name_readonly">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBIndex_name_readonly.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="name" interface="IDBIndex" specification="Indexed Database API (Partial)" section="Storage" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#widl-IDBIndex-name</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if IDBIndex.name attribute is of type string" type="compliance" status="approved" component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" priority="P1" id="IDBIndex_name_type">
<description>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBIndex_name_type.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if IDBObjectStore.name attribute is readonly" type="compliance" status="approved" component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" priority="P1" id="IDBObjectStore_name_readonly">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBObjectStore_name_readonly.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="name" interface="IDBObjectStore" specification="Indexed Database API (Partial)" section="Storage" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#widl-IDBObjectStore-name</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if IDBObjectStore.name attribute is of type string" type="compliance" status="approved" component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" priority="P1" id="IDBObjectStore_name_type">
<description>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBObjectStore_name_type.html</test_script_entry>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if the IDBFactory::webkitGetDatabaseNames method works normally" type="compliance" status="approved" component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" priority="P1" id="IDBFactory_webkitGetDatabaseNames_base">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBFactory_webkitGetDatabaseNames_base.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="IDBFactory" element_type="method" element_name="webkitGetDatabaseNames" specification="Indexed Database API (Partial)" section="Storage" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#idl-def-IDBFactory</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if the IDBFactory::webkitGetDatabaseNames method exists" type="compliance" status="approved" component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" priority="P0" id="IDBFactory_webkitGetDatabaseNames_exist">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBFactory_webkitGetDatabaseNames_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="IDBFactory" element_type="method" element_name="webkitGetDatabaseNames" specification="Indexed Database API (Partial)" section="Storage" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2015/REC-IndexedDB-20150108/#idl-def-IDBFactory</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
<!--testcase purpose="Check if the IDBObjectStore::getAll method works normally" type="compliance" status="approved" component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" priority="P1" id="IDBObjectStore_getAll_base">
<description>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBObjectStore_getAll_base.html</test_script_entry>
</testcase>
</set>
</suite>
-</test_definition>
\ No newline at end of file
+</test_definition>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBIndex_name_normal_value.html</test_script_entry>
</description>
</testcase>
- <testcase component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" id="IDBIndex_name_readonly" priority="P1" purpose="Check if IDBIndex.name attribute is readonly">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBIndex_name_readonly.html</test_script_entry>
- </description>
- </testcase>
<testcase component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" id="IDBIndex_name_type" priority="P1" purpose="Check if IDBIndex.name attribute is of type string">
<description>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBIndex_name_type.html</test_script_entry>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBObjectStore_name_normal_value.html</test_script_entry>
</description>
</testcase>
- <testcase component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" id="IDBObjectStore_name_readonly" priority="P1" purpose="Check if IDBObjectStore.name attribute is readonly">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBObjectStore_name_readonly.html</test_script_entry>
- </description>
- </testcase>
<testcase component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" id="IDBObjectStore_name_type" priority="P1" purpose="Check if IDBObjectStore.name attribute is of type string">
<description>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBObjectStore_name_type.html</test_script_entry>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBDatabase_onclose_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" id="IDBFactory_webkitGetDatabaseNames_base" priority="P1" purpose="Check if the IDBFactory::webkitGetDatabaseNames method works normally">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBFactory_webkitGetDatabaseNames_base.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" id="IDBFactory_webkitGetDatabaseNames_exist" priority="P0" purpose="Check if the IDBFactory::webkitGetDatabaseNames method exists">
- <description>
- <test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBFactory_webkitGetDatabaseNames_exist.html</test_script_entry>
- </description>
- </testcase>
<!--testcase component="W3C_HTML5 APIs/Storage/Indexed Database API (Partial)" execution_type="auto" id="IDBObjectStore_getAll_base" priority="P1" purpose="Check if the IDBObjectStore::getAll method works normally">
<description>
<test_script_entry>/opt/tct-indexeddb-w3c-tests/indexeddb/IDBObjectStore_getAll_base.html</test_script_entry>
</testcase>
</set>
</suite>
-</test_definition>
\ No newline at end of file
+</test_definition>