[csp][add internet privilege in config.xml] 22/123322/1
authoryuanzhongyuan <zy123.yuan@samsung.com>
Wed, 5 Apr 2017 07:49:24 +0000 (15:49 +0800)
committeryuanzhongyuan <zy123.yuan@samsung.com>
Wed, 5 Apr 2017 07:49:24 +0000 (15:49 +0800)
Change-Id: Ib621fbb8099bcc3f8e6b3b51281eb2ba50a35735

common/tct-csp-w3c-tests/config.xml
common/tct-csp-w3c-tests/tests.xml

index 93d0aa87a5117063a86a1de252715573ee934f35..2b6fccd3f05692575b1b326ea01bd5f449162b06 100755 (executable)
@@ -3,5 +3,6 @@
   <icon src="icon.png" height="117" width="117"/>
   <name>tct-csp-w3c-tests</name>
   <tizen:application id="w3ccsp0000.WebAPIW3CCspTests" package="w3ccsp0000" required_version="3.0"/>
+  <tizen:privilege name="http://tizen.org/privilege/internet"/>
   <tizen:setting screen-orientation="landscape"/>
 </widget>
index 4b86c58c287e5120319942e63faa5cc15d818f61..0c6554219468454d891e7d8579857eedcb0089e0 100755 (executable)
       </testcase>
     </set>
     <set name="frame-ancestors" type="js">
-      <!--testcase component="W3C_HTML5 APIs/Security/Content Security Policy 2.0 (Partial)" execution_type="manual" id="csp_frame-ancestors_embed_allowed" priority="P2">
+      <testcase component="W3C_HTML5 APIs/Security/Content Security Policy 2.0 (Partial)" execution_type="manual" id="csp_frame-ancestors_embed_allowed" priority="P2">
         <description>
           <pre_condition>Connect to PHP server</pre_condition>
           <steps>
           </steps>
           <test_script_entry test_script_expected_result="0">/opt/tct-csp-w3c-tests/csp/csp_frame-ancestors_embed_allowed.php?total_num=1&amp;amp;locator_key=id&amp;amp;value=1</test_script_entry>
         </description>
-      </testcase-->
+      </testcase>
       <testcase component="W3C_HTML5 APIs/Security/Content Security Policy 2.0 (Partial)" execution_type="auto" id="csp_frame-ancestors_embed_blocked" priority="P2">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-csp-w3c-tests/csp/csp_frame-ancestors_embed_blocked.php?total_num=1&amp;amp;locator_key=id&amp;amp;value=1</test_script_entry>