[common][websocket][delete 1 tc for v8 engine] 66/125666/1
authorw.gu <w.gu@samsung.com>
Tue, 18 Apr 2017 09:19:43 +0000 (17:19 +0800)
committerw.gu <w.gu@samsung.com>
Tue, 18 Apr 2017 09:19:57 +0000 (17:19 +0800)
Change-Id: I0be9d368d6600de2531d74777a20d2c4c6e7e65a
Signed-off-by: w.gu <w.gu@samsung.com>
common/tct-websocket-w3c-tests/tests.full.xml
common/tct-websocket-w3c-tests/tests.xml
common/tct-websocket-w3c-tests/websocket/w3c/Close-undefined.htm [deleted file]

index a0f8aad68ce077435532aba724ce8b2021ca59f3..a76fb105729e65209c37196ce45cd492ea720ed0 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if the InvalidAccessError exception thrown when the WebSocket.close has an argument undefined" type="compliance" status="approved" component="W3C_HTML5 APIs/Communication/The WebSocket API" execution_type="auto" priority="P2" id="Close_undefined" onload_delay="10">
-        <description>
-          <test_script_entry>http://127.0.0.1:8080/opt/tct-websocket-w3c-tests/websocket/w3c/Close-undefined.htm</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="method" element_name="close" interface="WebSocket" specification="The WebSocket API" section="Communication" category="Tizen W3C API Specifications"/>
-            <spec_url>http://www.w3.org/TR/2012/CR-websockets-20120920/#dom-websocket-close</spec_url>
-            <spec_statement/>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if the default value of WebSocket.CLOSED is 3" type="compliance" status="approved" component="W3C_HTML5 APIs/Communication/The WebSocket API" execution_type="auto" priority="P2" id="websocket_WebSocket_CLOSED_default_value">
         <description>
           <test_script_entry>/opt/tct-websocket-w3c-tests/websocket/websocket_WebSocket_CLOSED_default_value.html</test_script_entry>
index 190cdf6fce4e964f8fa1f404909cdafb99269f2d..1f62fcf3501072b22cc9a886893267c1303113a2 100755 (executable)
           <test_script_entry>/opt/tct-websocket-w3c-tests/websocket/websocket_WebSocket_close_type.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Communication/The WebSocket API" execution_type="auto" id="Close_undefined" onload_delay="10" purpose="Check if the InvalidAccessError exception thrown when the WebSocket.close has an argument undefined">
-        <description>
-          <test_script_entry>/opt/tct-websocket-w3c-tests/websocket/w3c/Close-undefined.htm</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Communication/The WebSocket API" execution_type="auto" id="websocket_WebSocket_CLOSED_default_value" purpose="Check if the default value of WebSocket.CLOSED is 3">
         <description>
           <test_script_entry>/opt/tct-websocket-w3c-tests/websocket/websocket_WebSocket_CLOSED_default_value.html</test_script_entry>
diff --git a/common/tct-websocket-w3c-tests/websocket/w3c/Close-undefined.htm b/common/tct-websocket-w3c-tests/websocket/w3c/Close-undefined.htm
deleted file mode 100755 (executable)
index d753c7c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>W3C WebSocket API - Close WebSocket - Code is undefined</title>
-    <script type="text/javascript" src="../../resources/testharness.js"></script>
-    <script type="text/javascript" src="../../resources/testharnessreport.js"></script>
-    <script type="text/javascript" src="websocket.js"></script>
-</head>
-<body>
-    <div id="log"></div>
-    <script type="text/javascript">
-
-        var test = async_test("W3C WebSocket API - Create WebSocket - Close the Connection - close(undefined) - INVALID_ACCESS_ERR is thrown");
-
-        var wsocket = CreateWebSocket(false, false, false);
-        var isOpenCalled = false;
-
-        wsocket.addEventListener('open', test.step_func(function (evt) {
-            assert_throws("INVALID_ACCESS_ERR", function () { wsocket.close(undefined) });
-            clearTimeout(timeOut);
-            test.done();
-        }), true);
-    </script>
-
-</body>
-</html>