[common][tct-video-html5-tests][sync from tizen_3.0 branch] 48/118348/2
authorxy.qian <xy.qian@samsung.com>
Fri, 10 Mar 2017 05:31:14 +0000 (13:31 +0800)
committerxy.qian <xy.qian@samsung.com>
Fri, 10 Mar 2017 06:08:47 +0000 (14:08 +0800)
Change-Id: Ica81d13a1fdb1addc9f4f97c728ab84884a600c4
Signed-off-by: xy.qian <xy.qian@samsung.com>
15 files changed:
common/tct-video-html5-tests/tests.full.xml
common/tct-video-html5-tests/tests.xml
common/tct-video-html5-tests/video/video_MediaError_MEDIA_ERR_NETWORK_constant_value.html
common/tct-video-html5-tests/video/video_MediaError_code_exists.html
common/tct-video-html5-tests/video/video_MediaError_code_readonly.html
common/tct-video-html5-tests/video/video_MediaError_code_type.html
common/tct-video-html5-tests/video/video_pause_webm_vp8_vorbis.html [deleted file]
common/tct-video-html5-tests/video/video_play_webm_vp8_vorbis.html [deleted file]
common/tct-video-html5-tests/video/video_resume_webm_vp8_vorbis.html [deleted file]
common/tct-video-html5-tests/video/video_seek_webm_vp8_vorbis.html [deleted file]
common/tct-video-html5-tests/video/video_stop_webm_vp8_vorbis.html [deleted file]
common/tct-video-html5-tests/video/w3c/canPlayType_codecs_order_1.html
common/tct-video-html5-tests/video/w3c/canPlayType_supported_but_no_codecs_parameter_1.html
common/tct-video-html5-tests/video/w3c/canPlayType_two_implies_one_1.html
common/tct-video-html5-tests/video/w3c/canPlayType_two_implies_one_2.html

index eb8e1bf521689a384422de41f425db3edd32c141..c6e4fdaf9f61ba5a31111d06ffaecad79e2fca8d 100755 (executable)
@@ -63,7 +63,7 @@
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if the video.canPlayType supports video/webm after ordered the codecs's parameter(theora, vorbis)" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P0" id="canplaytype_codecs_order_theora_vorbis">
+      <testcase purpose="Check if the video.canPlayType supports video/mp4 after ordered the codecs's parameter(theora, vorbis)" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P0" id="canplaytype_codecs_order_theora_vorbis">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_codecs_order_2.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if the video.canPlayType supports video/webm after ordered the codecs's parameter(avc1.42E01E, mp4a.40.2)" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P2" id="canplaytype_codecs_order_avc_mp4a">
+      <testcase purpose="Check if the video.canPlayType supports video/mp4 after ordered the codecs's parameter(avc1.42E01E, mp4a.40.2)" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P2" id="canplaytype_codecs_order_avc_mp4a">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_codecs_order_3.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if the video.canPlayType supports video/webm after ordered the codecs's parameter(vp8, vorbis)" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P2" id="canplaytype_codecs_order_vp8_vorbis">
+      <testcase purpose="Check if the video.canPlayType supports video/mp4 after ordered the codecs's parameter(vp8, vorbis)" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P2" id="canplaytype_codecs_order_vp8_vorbis">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_codecs_order_1.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if the video.canPlayType supports video webm" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P2" id="canplaytype_webm_supported_but_no_codecs_parameter">
+      <testcase purpose="Check if the video.canPlayType supports video mp4" type="compliance" status="approved" component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" priority="P2" id="canplaytype_mp4_supported_but_no_codecs_parameter">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_supported_but_no_codecs_parameter_1.html</test_script_entry>
         </description>
           </spec>
         </specs>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_pause_webm_vp8_vorbis" priority="P3" purpose="Check if user agent is able to pause playing video playback for stream webm vp8 vorbis" status="approved" type="compliance">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>Check if user agent is able to pause playing video playback for stream webm vp8 vorbis</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_pause_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion category="Tizen W3C API Specifications" interface="HTMLVideoElement" section="Media" specification="HTML5 The video element" usage="true"/>
-            <spec_url>http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element</spec_url>
-            <spec_statement/>
-          </spec>
-        </specs>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_paused_attribute_readonly" priority="P2" purpose="Check if the video.paused attribute is readonly" status="approved" type="compliance">
         <description>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_play_webm_vp8_vorbis" priority="P3" purpose="Check if user agent is able to play video stream webm vp8 vorbis with event ended fired when ended playback" status="approved" type="compliance">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>Check if user agent is able to play video stream webm vp8 vorbis with event ended fired when ended playback</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_play_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion category="Tizen W3C API Specifications" interface="HTMLVideoElement" section="Media" specification="HTML5 The video element" usage="true"/>
-            <spec_url>http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element</spec_url>
-            <spec_statement/>
-          </spec>
-        </specs>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_defaultPlaybackRate_value_null" priority="P2" purpose="Check if the video.defaultPlaybackRate attribute that on getting it must return 0 it was set to null" status="approved" type="compliance">
         <description>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_resume_webm_vp8_vorbis" priority="P3" purpose="Check if user agent is able to resume paused video playback for stream webm vp8 vorbis" status="approved" type="compliance">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>Check if user agent is able to resume paused video playback for stream webm vp8 vorbis</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_resume_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion category="Tizen W3C API Specifications" interface="HTMLVideoElement" section="Media" specification="HTML5 The video element" usage="true"/>
-            <spec_url>http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element</spec_url>
-            <spec_statement/>
-          </spec>
-        </specs>
-      </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_seek_webm_vp8_vorbis" priority="P3" purpose="Check if user agent is able to seek video playback with currentTime attribute for stream webm vp8 vorbis" status="approved" type="compliance">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>Check if user agent is able to seek video playback with currentTime attribute for stream webm vp8 vorbis</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_seek_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion category="Tizen W3C API Specifications" interface="HTMLVideoElement" section="Media" specification="HTML5 The video element" usage="true"/>
-            <spec_url>http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element</spec_url>
-            <spec_statement/>
-          </spec>
-        </specs>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_seekable_attribute_readonly" priority="P2" purpose="Check if video.seekable attribute is readonly" status="approved" type="compliance">
         <description>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_stop_webm_vp8_vorbis" priority="P3" purpose="Check if user agent is able to stop video playback for stream webm vp8 vorbis" status="approved" type="compliance">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>Check if user agent is able to stop video playback for stream webm vp8 vorbis</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_stop_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion category="Tizen W3C API Specifications" interface="HTMLVideoElement" section="Media" specification="HTML5 The video element" usage="true"/>
-            <spec_url>http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element</spec_url>
-            <spec_statement/>
-          </spec>
-        </specs>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_videoHeght_media_resource_available" priority="P3" purpose="Check if video.videoheight return the intrinsic height of the video when have a media resource" status="approved" type="compliance">
         <description>
           <pre_condition/>
index f67c4b536b32c63359bc6142892249e18efdd412..55390990b5b79ad561d116db362bf73020ef3c34 100755 (executable)
@@ -28,7 +28,7 @@
           <test_script_entry>/opt/tct-video-html5-tests/video/video_textTracks_valid_value.html</test_script_entry>
         </description>
         </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_codecs_order_theora_vorbis" purpose="Check if the video.canPlayType supports video/webm after ordered the codecs's parameter(theora, vorbis)">
+      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_codecs_order_theora_vorbis" purpose="Check if the video.canPlayType supports video/mp4 after ordered the codecs's parameter(theora, vorbis)">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_codecs_order_2.html</test_script_entry>
         </description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_two_implies_one_3.html</test_script_entry>
         </description>
         </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_codecs_order_avc_mp4a" purpose="Check if the video.canPlayType supports video/webm after ordered the codecs's parameter(avc1.42E01E, mp4a.40.2)">
+      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_codecs_order_avc_mp4a" purpose="Check if the video.canPlayType supports video/mp4 after ordered the codecs's parameter(avc1.42E01E, mp4a.40.2)">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_codecs_order_3.html</test_script_entry>
         </description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_supported_but_no_codecs_parameter_3.html</test_script_entry>
         </description>
         </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_codecs_order_vp8_vorbis" purpose="Check if the video.canPlayType supports video/webm after ordered the codecs's parameter(vp8, vorbis)">
+      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_codecs_order_vp8_vorbis" purpose="Check if the video.canPlayType supports video/mp4 after ordered the codecs's parameter(vp8, vorbis)">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_codecs_order_1.html</test_script_entry>
         </description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_two_implies_one_2.html</test_script_entry>
         </description>
         </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_webm_supported_but_no_codecs_parameter" purpose="Check if the video.canPlayType supports video webm">
+      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element (Partial)" execution_type="auto" id="canplaytype_mp4_supported_but_no_codecs_parameter" purpose="Check if the video.canPlayType supports video mp4">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/tct-video-html5-tests/video/w3c/canPlayType_supported_but_no_codecs_parameter_1.html</test_script_entry>
         </description>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_pause_mp4_h264_aac.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_pause_webm_vp8_vorbis" purpose="Check if user agent is able to pause playing video playback for stream webm vp8 vorbis">
-        <description>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_pause_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_paused_attribute_readonly" purpose="Check if the video.paused attribute is readonly">
         <description>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_paused_attribute_readonly.html</test_script_entry>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_play_mp4_h264_aac.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" onload_delay="10" id="video_play_webm_vp8_vorbis" purpose="Check if user agent is able to play video stream webm vp8 vorbis with event ended fired when ended playback">
-        <description>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_play_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_playbackRate_value_null" purpose="Check if the video.playbackRate attribute return 0 it was set to null">
         <description>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_playbackRate_value_null.html</test_script_entry>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_preload_auto.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" onload_delay="10" id="video_resume_webm_vp8_vorbis" purpose="Check if user agent is able to resume paused video playback for stream webm vp8 vorbis">
-        <description>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_resume_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-      </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" onload_delay="10" id="video_seek_webm_vp8_vorbis" purpose="Check if user agent is able to seek video playback with currentTime attribute for stream webm vp8 vorbis">
-        <description>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_seek_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_seekable_attribute_readonly" purpose="Check if video.seekable attribute is readonly">
         <description>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_seekable_attribute_readonly.html</test_script_entry>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_src_basic.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_stop_webm_vp8_vorbis" purpose="Check if user agent is able to stop video playback for stream webm vp8 vorbis">
-        <description>
-          <test_script_entry>/opt/tct-video-html5-tests/video/video_stop_webm_vp8_vorbis.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="W3C_HTML5 APIs/Media/HTML5 The video element" execution_type="auto" id="video_videoHeght_media_resource_available" purpose="Check if video.videoheight return the intrinsic height of the video when have a media resource">
         <description>
           <test_script_entry>/opt/tct-video-html5-tests/video/video_videoHeght_media_resource_available.html</test_script_entry>
index 31651d47b3b24c69987b5a78bcd8058e354fea8e..f948aecfa6a12f7e98d14f9ad70d0410fe10aa2e 100755 (executable)
@@ -41,7 +41,7 @@ Authors:
     <script src="../resources/testharnessreport.js"></script>
   </head>
   <body>
-    <video id="video" controls="controls" src="media/movie_5.webm">
+    <video id="video" controls="controls" src="media/movie_5.mp4">
         Your browser does not support media elements.
     </video>
     <div id="log"></div>
index d3cb8a85101dfb0f000f211b4b6b238c6f666c85..76b796faef65cd3f14e2c69aea07eea03971bbdd 100755 (executable)
@@ -42,7 +42,7 @@ Authors:
     <script src="../resources/testharnessreport.js"></script>
   </head>
   <body>
-    <video id="video" src="media/movie_5.webm">
+    <video id="video" src="media/movie_5.mp4">
         Your browser does not support media elements.
     </video>
     <div id="log"></div>
index c106d70813a2c6311cbd7aae18e4aa3f877eaea0..e4635467f6c3f792cbbce5fc8e2b57d539d3886e 100755 (executable)
@@ -41,7 +41,7 @@ Authors:
     <script src="../resources/testharnessreport.js"></script>
   </head>
   <body>
-    <video id="video" controls="controls" src="media/movie_5.webm">
+    <video id="video" controls="controls" src="media/movie_5.mp4">
         Your browser does not support media elements.
     </video>
     <div id="log"></div>
index 10b6cf5ecadefeeb792a36879cc71839711d9024..3cf222a1b65b52f6556112fb4ea625e7f98eed08 100755 (executable)
@@ -41,7 +41,7 @@ Authors:
     <script src="../resources/testharnessreport.js"></script>
   </head>
   <body>
-    <video id="video" controls="controls" src="media/movie_5.webm">
+    <video id="video" controls="controls" src="media/movie_5.mp4">
         Your browser does not support media elements.
     </video>
     <div id="log"></div>
diff --git a/common/tct-video-html5-tests/video/video_pause_webm_vp8_vorbis.html b/common/tct-video-html5-tests/video/video_pause_webm_vp8_vorbis.html
deleted file mode 100755 (executable)
index a119156..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!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:
-         Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
-         Ge, Qing <qingx.ge@intel.com>
-
--->
-
-
-<html>
-  <head>
-    <title>Video Test: video_pause_webm_vp8_vorbis</title>
-    <link rel="author" title="Intel" href="http://www.intel.com/"/>
-    <link rel="help"href="http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element"/>
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check if user agent is able to pause playing video playback for stream webm vp8 vorbis"/>
-    <script src="../resources/testharness.js"></script>
-    <script src="../resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <p><a href="http://www.w3.org/TR/html5/the-iframe-element.html#mediaevents">spec reference</a></p>
-    <h4 id="link2">webm/vp8/vorbis</h4>
-    <video id="v" controls>
-    </video>
-    <div id="log"></div>
-    <script>
-        var t = async_test("video.play()/pause() - to verify if user agent is able to pause playing video playback for stream webm vp8 vorbis", {timeout:30000});
-        setup({timeout:1000000});
-        var v = document.getElementById("v");
-        v.addEventListener('pause', function () {
-            t.step(function () {
-                assert_true(v.paused, "pause event");
-            });
-            t.done();
-        }, false);
-        v.src="media/movie_5.webm"
-        v.play();
-        v.pause();
-    </script>
-  </body>
-</html>
diff --git a/common/tct-video-html5-tests/video/video_play_webm_vp8_vorbis.html b/common/tct-video-html5-tests/video/video_play_webm_vp8_vorbis.html
deleted file mode 100755 (executable)
index 9655f75..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-<!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:
-         Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
-         Ge, Qing <qingx.ge@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>Video Test: video_play_webm_vp8_vorbis</title>
-    <link rel="author" title="Intel" href="http://www.intel.com/"/>
-    <link rel="help" href="http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element"/>
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check if user agent is able to play video stream webm vp8 vorbis with event ended fired when ended playback"/>
-    <script src="../resources/testharness.js"></script>
-    <script src="../resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <p><a href="http://www.w3.org/TR/html5/the-iframe-element.html#mediaevents">spec reference</a></p>
-    <h4 id="link2">webm/vp8/vorbis</h4>
-    <video id="v" controls>
-    </video>
-    <div id="log"></div>
-    <script>
-        var time = 30000;
-        var time2 = 1000000;
-        var timeout = 100;
-        var timeout2 = 30000;
-        var t = async_test("video.play() - to verify if user agent is able to play video stream webm vp8 vorbis with event ended fired when ended playback", {timeout:time});
-        setup({timeout:time2});
-        var v = document.getElementById("v");
-        v.addEventListener('ended', t.step_func(function() {
-            t.done();
-        }), false);
-        v.addEventListener('loadedmetadata', function() {
-            v.currentTime=v.duration-2;
-        }, false);
-        setTimeout(function (){
-            t.step(function() {
-                assert_true(false, "user agent is able to play video stream webm vp8 vorbis with event ended fired when ended playback");
-            });
-            t.done();
-        }, timeout2);
-        v.src="media/movie_5.webm";
-        v.play();
-    </script>
-  </body>
-</html>
diff --git a/common/tct-video-html5-tests/video/video_resume_webm_vp8_vorbis.html b/common/tct-video-html5-tests/video/video_resume_webm_vp8_vorbis.html
deleted file mode 100755 (executable)
index 8e6c44b..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-<!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:
-         Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
-         Cao, Jun <junx.cao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>Video Test: video_resume_webm_vp8_vorbis</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check if  user agent is able to resume paused video playback for stream webm vp8 vorbis" />
-    <script src="../resources/testharness.js"></script>
-    <script src="../resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <video id="v">
-        Your browser does not support media elements.
-    </video>
-    <script>
-        var t = async_test("video.play()/pause() - to verify if user agent is able to resume paused video playback for stream webm vp8 vorbis", {timeout:30000});
-        setup({timeout:1000000});
-
-        var v = document.getElementById("v");
-
-        function startTest() {
-            t.step(function() {
-                v.currentTime = v.duration - 2;
-                v.play();
-            });
-            return false;
-        }
-
-        var resumed = false;
-
-        function playpause() {
-            if (resumed)
-               return false;
-
-            t.step(function() {
-                if (v.paused) {
-                    v.play();
-                resumed = true;
-                assert_false(v.paused, "paused is newly false after resume");
-                } else {
-                    v.pause();
-                    assert_true(v.paused, "paused is newly true after pause");
-                }
-           });
-           return false;
-        }
-
-        function endTest() {
-            t.step(function() {
-                assert_true(true, "ended event");
-            });
-            t.done();
-            return false;
-        }
-
-        v.addEventListener("loadedmetadata", startTest, false);
-        v.addEventListener("play", playpause, false);
-        v.addEventListener("pause", playpause, false);
-        v.addEventListener("ended", endTest, false);
-
-        v.src="media/movie_5.webm";
-    </script>
-  </body>
-</html>
diff --git a/common/tct-video-html5-tests/video/video_seek_webm_vp8_vorbis.html b/common/tct-video-html5-tests/video/video_seek_webm_vp8_vorbis.html
deleted file mode 100755 (executable)
index a26fbd4..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-<!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:
-         Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
-         Cao, Jun <junx.cao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>Video Test: video_seek_webm_vp8_vorbis</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check if user agent is able to seek video playback with currentTime attribute for stream webm vp8 vorbis" />
-    <script src="../resources/testharness.js"></script>
-    <script src="../resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <video id="v">
-        Your browser does not support media elements.
-    </video>
-    <script>
-        var t = async_test("video.currentTime - to verify if user agent is able to seek video playback with currentTime attribute for stream webm vp8 vorbis", {timeout:30000});
-        setup({timeout:1000000});
-
-        var v = document.getElementById("v");
-
-        var completed = false;
-
-        function startTest() {
-            if (completed)
-                return false;
-
-            v.currentTime= v.duration - 2;
-
-            t.step(function() {
-                assert_true(true, "loadmetadata event");
-                assert_true(v.seeking, "seeking flag on seek start should be true");
-                v.play();
-            });
-            return false;
-        }
-
-        function seekStarted() {
-            if (completed)
-                return false;
-
-            t.step(function() {
-                assert_true(true, "seeking event");
-                v.pause();
-            });
-            return false;
-        }
-
-        function seekEnded() {
-            if (completed)
-                return false;
-
-            t.step(function() {
-                assert_true(true, "seeked event");
-                assert_false(v.seeking, "seeking flag on seeked should be false");
-                v.play();
-            });
-            return false;
-         }
-
-        function playbackEnded() {
-            if (completed)
-               return false;
-
-            completed = true;
-            t.step(function() {
-                assert_true(true, "ended event");
-            });
-            t.done();
-            return false;
-        }
-
-        v.addEventListener("ended", playbackEnded, false);
-        v.addEventListener("loadedmetadata", startTest, false);
-        v.addEventListener("seeking", seekStarted, false);
-        v.addEventListener("seeked", seekEnded, false);
-
-        v.src="media/movie_5.webm";
-    </script>
-  </body>
-</html>
diff --git a/common/tct-video-html5-tests/video/video_stop_webm_vp8_vorbis.html b/common/tct-video-html5-tests/video/video_stop_webm_vp8_vorbis.html
deleted file mode 100755 (executable)
index 0cd7cf2..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<!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:
-         Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
-         Cao, Jun <junx.cao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>Video Test: video_stop_webm_vp8_vorbis</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="http://www.w3.org/TR/2012/WD-html5-20121025/the-video-element.html#the-video-element" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="Check if user agent is able to stop video playback for stream webm vp8 vorbis" />
-    <script src="../resources/testharness.js"></script>
-    <script src="../resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <video id="v">
-        Your browser does not support media elements.
-    </video>
-    <script>
-        var t = async_test("video.play()/pause() - to verify if user agent is able to stop video playback for stream webm vp8 vorbis", {timeout:30000});
-        setup({timeout:1000000});
-
-        var v = document.getElementById("v");
-
-        function startTest() {
-            t.step(function() {
-                v.currentTime = v.duration - 5;
-                v.play();
-           });
-           return false;
-        }
-
-        function rewind() {
-            t.step(function() {
-                v.pause();
-                v.currentTime = 0.0;
-            });
-            return false;
-        }
-
-        function endTest() {
-            t.step(function() {
-                assert_equals(v.currentTime, 0.0, "Stop shall be at time 0.0");
-            });
-            t.done();
-           return false;
-        }
-
-        v.addEventListener("loadedmetadata", startTest, false);
-        v.addEventListener("play", rewind, false);
-        v.addEventListener("pause", endTest, false);
-
-        v.src="media/movie_5.webm"
-    </script>
-  </body>
-</html>
index 2e858a69e7da94956bf7dc028d009868a6317c2e..f2b20874dbeebdd8bd54c5bd1a5cb8e5b1119195 100755 (executable)
@@ -14,8 +14,8 @@
 test(function() {
  var v = document.getElementById("v");
   assert_equals(
-   v.canPlayType('video/webm; codecs="vp8, vorbis"'),
-   v.canPlayType('video/webm; codecs="vorbis, vp8"'),
+   v.canPlayType('video/mp4; codecs="vp8, vorbis"'),
+   v.canPlayType('video/mp4; codecs="vorbis, vp8"'),
    "order of codecs parameters should have no effect");
 });
   </script>
index 8ca588cf094c8dec6d4b5e7d3fec9871776e0a3d..6dd0ba6d59c6195b831adebb5000f6165d3877f4 100755 (executable)
@@ -13,9 +13,9 @@
   <script>
 test(function() {
  var v = document.getElementById("v");
- if (v.canPlayType('video/webm; codecs="vp8, vorbis"') == "probably") {
+ if (v.canPlayType('video/mp4; codecs="vp8, vorbis"') == "probably") {
   assert_equals(
-   v.canPlayType("video/webm"),
+   v.canPlayType("video/mp4"),
    "maybe",
    "videoElement.canPlayType() should return 'maybe' on supported format w/o codecs parameter");
  }
index f9a769130666390a0ba8bb5bd64e7333ce9c0fe4..b5863927563bd93b4c09701dadfd21fc1c546e61 100755 (executable)
   <script>
 test(function() {
  var v = document.getElementById("v");
- if (v.canPlayType('video/webm; codecs="vp8, vorbis"') == "probably") {
+ if (v.canPlayType('video/mp4; codecs="vp8, vorbis"') == "probably") {
   assert_equals(
-   v.canPlayType('video/webm; codecs="vp8, vorbis"'),
-   v.canPlayType('video/webm; codecs="vp8"'),
+   v.canPlayType('video/mp4; codecs="vp8, vorbis"'),
+   v.canPlayType('video/mp4; codecs="vp8"'),
    "ability to play two codecs implies the ability to play one");
  }
 });
index 21d8d8f1674ab8108899ea03d5c0fa013f146158..bd07f5f792f8da1fa6d5028a114a4aff0cb00275 100755 (executable)
   <script>
 test(function() {
  var v = document.getElementById("v");
- if (v.canPlayType('video/webm; codecs="vp8, vorbis"') == "probably") {
+ if (v.canPlayType('video/mp4; codecs="vp8, vorbis"') == "probably") {
   assert_equals(
-   v.canPlayType('video/webm; codecs="vp8, vorbis"'),
-   v.canPlayType('video/webm; codecs="vorbis"'),
+   v.canPlayType('video/mp4; codecs="vp8, vorbis"'),
+   v.canPlayType('video/mp4; codecs="vorbis"'),
    "ability to play two codecs implies the ability to play one");
  }
 });