+++ /dev/null
-importScripts('../resources/interfaces.js');
-importScripts('../resources/worker-testharness.js');
-
-test(function() {
- assert_throws({name: 'InvalidAccessError'}, function() {
- self.close();
- });
-}, 'ServiceWorkerGlobalScope close operation');
\ No newline at end of file
+++ /dev/null
-importScripts('interfaces.js');
-importScripts('../resources/testharness.js');
-test(function() {
- verify_interface('ServiceWorkerGlobalScope',
- self,
- {
- close: 'function'
- });
- }, 'ServiceWorkerGlobalScope close exist');
\ No newline at end of file
+++ /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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>ServiceWorkerGlobalScope_close</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="../resources/test-helpers.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: ServiceWorkerGlobalScope_close
-//==== LABEL check close method throw exception
-//==== SPEC Tizen Web API:TBD:ServiceWorkers:ServiceWorkerGlobalScope:close M
-//==== SPEC_URL http://www.w3.org/TR/2015/WD-service-workers-20150625/
-//==== PRIORITY P1
-//==== TEST_CRITERIA MC
-
-service_worker_test('../resources/close-worker.js', document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /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:
- Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>ServiceWorkerGlobalScope_close_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-<script src="../resources/test-helpers.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: ServiceWorkerGlobalScope_close_exist
-//==== LABEL check if close method of ServiceWorkerGlobalScope exist
-//==== SPEC Tizen Web API:TBD:ServiceWorkers:ServiceWorkerGlobalScope:close M
-//==== SPEC_URL http://www.w3.org/TR/2015/WD-service-workers-20150625/
-//==== PRIORITY P0
-//==== TEST_CRITERIA ME
-
-service_worker_test('../resources/serviceworkerglobalscope-close-exist.js', document.titile);
-
-</script>
-</body>
-</html>
\ No newline at end of file
</spec>
</specs>
</testcase>
- <testcase purpose="check close method throw exception" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" priority="P1" id="ServiceWorkerGlobalScope_close">
- <description>
- <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ServiceWorkerGlobalScope" element_type="method" element_name="close" specification="ServiceWorkers" section="TBD" category="Tizen Device API Specifications"/>
- <spec_url>http://www.w3.org/TR/2015/WD-service-workers-20150625/</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="check if close method of ServiceWorkerGlobalScope exist" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" priority="P0" id="ServiceWorkerGlobalScope_close_exist">
- <description>
- <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="ServiceWorkerGlobalScope" element_type="method" element_name="close" specification="ServiceWorkers" section="TBD" category="Tizen Device API Specifications"/>
- <spec_url>http://www.w3.org/TR/2015/WD-service-workers-20150625/</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="check if ServiceWorkerGlobalScope exist" type="compliance" status="approved" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" priority="P1" id="ServiceWorkerGlobalScope_exist">
<description>
<test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_exist.html</test_script_entry>
<test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_clients_attribute.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="check close method throw exception" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" id="ServiceWorkerGlobalScope_close">
- <description>
- <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close.html</test_script_entry>
- </description>
- </testcase>
- <testcase purpose="check if close method of ServiceWorkerGlobalScope exist" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" id="ServiceWorkerGlobalScope_close_exist">
- <description>
- <test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_close_exist.html</test_script_entry>
- </description>
- </testcase>
<testcase purpose="check if ServiceWorkerGlobalScope exist" component="W3C_HTML5 APIs/TBD/ServiceWorkers" execution_type="auto" id="ServiceWorkerGlobalScope_exist">
<description>
<test_script_entry>/opt/tct-serviceworkers-w3c-tests/serviceworkers/ServiceWorkerGlobalScope_exist.html</test_script_entry>