[common][animationtiming][DPTTIZEN-3021, change webkitCancelRequestAnimationFrame... 59/178759/1
authorlin qunfang <qunfang.lin@samsung.com>
Mon, 14 May 2018 13:18:09 +0000 (21:18 +0800)
committerlin qunfang <qunfang.lin@samsung.com>
Mon, 14 May 2018 13:21:06 +0000 (21:21 +0800)
Change-Id: Icca0e9bf21ae1b29a36f72443175346eff32170d
Signed-off-by: lin qunfang <qunfang.lin@samsung.com>
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_boolean.html
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_exist.html
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_neg10.html
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_string.html
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_undefined.html
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_validhandle.html
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_cancelAnimationFrame.html
common/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_hidden.html
common/tct-animationtiming-w3c-tests/animationtiming/w3c/paintnotificationharness.js

index 05d25ed83a0a12c26b994c6c202808d70fb313b4..34c16b5bf8916be8df06d60cbd8fa26b66e65e33 100755 (executable)
@@ -35,14 +35,14 @@ Authors:
 <html>
   <head>
     <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
-    <title>Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter boolean</title>
+    <title>Check whether window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter boolean</title>
   </head>
   <body onload="start()">
     <p>PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop </p>
     <p>FAIL If screen displays no animation or animation stops when click "Stop" button</p>
     <script>
         var reqAnimAPI = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || oRequestAnimationFrame;
-        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;
+        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;
         var requestId = 0;
         var handle = true;
         function animate(time) {
index d8b69d70b34eb126cb50b9c963ec765743e646dd..bd727e54b6483bdb97223b57e953cd3d3ec5bf45 100755 (executable)
@@ -32,18 +32,18 @@ Authors:
 
 <html>
   <head>
-    <title>check if window.cancelRequestAnimationFrame ||  window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; is defined and not null</title>
+    <title>check if window.cancelRequestAnimationFrame ||  window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; is defined and not null</title>
     <script type="text/javascript" src="../resources/testharness.js"></script>
   </head>
   <body>
     <div id="log"></div>
     <script type="text/javascript">
         setup({timeout:500});
-        var reqAnimAPI = window.cancelRequestAnimationFrame ||  window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
+        var reqAnimAPI = window.cancelRequestAnimationFrame ||  window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
         test(function(){
             assert_true(reqAnimAPI !== undefined && reqAnimAPI != null,
-                "check if window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; is defined and not null");
-        }, "check if window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; is defined and not null");
+                "check if window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; is defined and not null");
+        }, "check if window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; is defined and not null");
     </script>
   </body>
 </html>
index d7e7ff5031be81588d42794eab2f96833e4001f5..5230bbd1abd274faa91485a46ac3f9c0918e7104 100755 (executable)
@@ -35,14 +35,14 @@ Authors:
 <html>
   <head>
     <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
-    <title>Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter negative number</title>
+    <title>Check whether window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter negative number</title>
   </head>
   <body onload="start()">
     <p>PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop </p>
     <p>FAIL If screen displays no animation or animation stops when click "Stop" button</p>
     <script>
         var reqAnimAPI = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || oRequestAnimationFrame;
-        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
+        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
         var requestId = 0;
         var handle = -10;
         function animate(time) {
index f77750e67dbcdb88dd564275e3c3b9f17e9c31af..f917e786809c1ff8cd8e3013f6611ad99d64d9b6 100755 (executable)
@@ -35,14 +35,14 @@ Authors:
 <html>
   <head>
     <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
-    <title>Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter string</title>
+    <title>Check whether window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter string</title>
   </head>
   <body onload="start()">
     <p>PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop </p>
     <p>FAIL If screen displays no animation or animation stops when click "Stop" button</p>
     <script>
         var reqAnimAPI = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || oRequestAnimationFrame;
-        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
+        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
         var requestId = 0;
         var handle = "abc";
         function animate(time) {
index f6a82687da087d6841fcc1f4b4e21b83c4454fbb..f1ed4ef6754ae7bd0e1e2081bcac4faf22946140 100755 (executable)
@@ -35,14 +35,14 @@ Authors:
 <html>
   <head>
     <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
-    <title>Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter undefined</title>
+    <title>Check whether window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter undefined</title>
   </head>
   <body onload="start()">
     <p>PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop </p>
     <p>FAIL If screen displays no animation or animation stops when click "Stop" button</p>
     <script>
         var reqAnimAPI = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || oRequestAnimationFrame;
-        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
+        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
         var requestId = 0;
         function animate(time) {
             document.getElementById("animated").style.left =
index c1bc1a10113a8cd6f347bca85cb822113ac3e89e..055cd8c9f687909053e2f0d6eada065f345bfb3c 100755 (executable)
@@ -35,14 +35,14 @@ Authors:
 <html>
   <head>
     <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
-    <title>Check window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be called normally with the parameter returned by window.webkitRequestAnimationFrame</title>
+    <title>Check window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be called normally with the parameter returned by window.webkitRequestAnimationFrame</title>
   </head>
   <body onload="start()">
     <p>PASS If a red box moves from left to right, when click the "Stop" buttonthe red box should stop</p>
     <p>FAIL If screen deosn't have any animation or red box won't stop when clicks the "Stop" button</p>
     <script>
         var reqAnimAPI = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || oRequestAnimationFrame;
-        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
+        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
         var requestId = 0;
         function animate(time) {
             document.getElementById("animated").style.left =
index d8562f1f8dbb67f6a76254d261fbaa90e0acc693..40e276e1fa8fa400b9bb173a2b896d158fd31ece 100755 (executable)
@@ -35,14 +35,14 @@ Authors:
 <html>
   <head>
     <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
-    <title>Check if window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; and RequestAnimationFrame invoked sucessfully</title>
+    <title>Check if window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; and RequestAnimationFrame invoked sucessfully</title>
   </head>
   <body>
     <p>PASS If a red box will move from left to right while click the button "Start". The red box will stop while click the button "Stop"</p>
     <p>FAIL If the screen doesn't have any animation or red box does not stop while clicks the "Stop" button</p>
     <script>
         var reqAnimAPI = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || oRequestAnimationFrame;
-        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
+        var cancelAnimAPI = window.cancelRequestAnimationFrame || window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
         var requestId = 0;
         function animate(time) {
             document.getElementById("animated").style.left =
index cfcc9504f6f2d0e2d2bb1e2c817de701dee8cbe4..9a29008ef200686a8e7c6275f4d9485f8a3bae54 100755 (executable)
@@ -45,7 +45,7 @@ Authors:
     <script>
         var t = async_test("Check if document's hidden attribute is false, window.webkitRequestAnimationFrame invoked sucessfully");
         var reqAnimAPI =   window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || oRequestAnimationFrame;
-        var cancelAnimAPI = window.cancelRequestAnimationFrame ||  window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
+        var cancelAnimAPI = window.cancelRequestAnimationFrame ||  window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame;;
         var requestId = 0;
         function animate(time) {
             t.step(function() {
index 036aad21bcf91c8915e26fb5ac5c186e26d10cd7..03c2445651c7cc384a51d10b17c596573d3b65d6 100755 (executable)
@@ -15,7 +15,7 @@ var reqAnimAPI = window.requestAnimationFrame ||
                  window.msRequestAnimationFrame ||
                  oRequestAnimationFrame;
 var cancelAnimAPI = window.cancelRequestAnimationFrame ||
-                    window.webkitCancelRequestAnimationFrame ||
+                    window.cancelAnimationFrame ||
                     window.mozCancelAnimationFrame ||
                     window.msCancelAnimationFrame ||
                     window.oCancelAnimationFrame;