From: Cui, Jieqiong Date: Wed, 14 Aug 2013 05:14:05 +0000 (+0800) Subject: Fixed TTS-1875 to move 15 TCs from delta to tct-animationtiming-w3c-tests X-Git-Tag: 2.2.1_release~289^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14a2ebbb3c1fa83d5fd53b960fc52bcf79c68c92;p=test%2Ftct%2Fweb%2Fapi.git Fixed TTS-1875 to move 15 TCs from delta to tct-animationtiming-w3c-tests Signed-off-by: Cui, Jieqiong --- diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_ignoreOptionalArgs.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_ignoreOptionalArgs.html new file mode 100644 index 000000000..7c9ae73c5 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_ignoreOptionalArgs.html @@ -0,0 +1,68 @@ + + + + + + + check if FrameRquestCallback ignores optional passed arguments + + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_multipleCalls.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_multipleCalls.html new file mode 100644 index 000000000..58375d4dd --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_multipleCalls.html @@ -0,0 +1,73 @@ + + + + + + Multiple callback registrations occur + + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_validTimestamp.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_validTimestamp.html new file mode 100644 index 000000000..897d06ee5 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_validTimestamp.html @@ -0,0 +1,72 @@ + + + + + + + Check whether FrameRequestCallback contains a valid timestamp + + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_boolean.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_boolean.html new file mode 100644 index 000000000..c1ce1feb8 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_boolean.html @@ -0,0 +1,70 @@ + + + + + + + Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter boolean + + + + + +

PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop

+

FAIL If screen displays no animation or animation stops when click "Stop" button

+
+ + +
+ + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_neg10.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_neg10.html new file mode 100644 index 000000000..5cf74eb05 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_neg10.html @@ -0,0 +1,68 @@ + + + + + + + Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter negative number + + + + + +

PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop

+

FAIL If screen displays no animation or animation stops when click "Stop" button

+
+ + +
+ + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_string.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_string.html new file mode 100644 index 000000000..ce075f220 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_string.html @@ -0,0 +1,68 @@ + + + + + + + Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter string + + + + + +

PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop

+

FAIL If screen displays no animation or animation stops when click "Stop" button

+
+ + +
+ + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_undefined.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_undefined.html new file mode 100644 index 000000000..95a22be0b --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_undefined.html @@ -0,0 +1,67 @@ + + + + + + + Check whether window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be used normally with invalid parameter undefined + + + + + +

PASS If a red box moves from left to right, when click "Stop" button, the red box won't stop

+

FAIL If screen displays no animation or animation stops when click "Stop" button

+
+ + +
+ + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_validhandle.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_validhandle.html new file mode 100644 index 000000000..4c3a68e3b --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_validhandle.html @@ -0,0 +1,69 @@ + + + + + + + Check window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; can be called normally with the parameter returned by window.webkitRequestAnimationFrame + + + + + +

PASS If a red box moves from left to right, when click the "Stop" buttonthe red box should stop

+

FAIL If screen deosn't have any animation or red box won't stop when clicks the "Stop" button

+
+ + +
+ + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_AcceptInlineScript.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_AcceptInlineScript.html new file mode 100644 index 000000000..cbaf15f80 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_AcceptInlineScript.html @@ -0,0 +1,53 @@ + + + + + Check whether window.webkitRequestAnimationFrame accepts inline script + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_NeedParameter.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_NeedParameter.html new file mode 100644 index 000000000..1c809356b --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_NeedParameter.html @@ -0,0 +1,71 @@ + + + + + + + Check whether window.webkitRequestAnimationFrame expects parameter + + + + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_cancelAnimationFrame.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_cancelAnimationFrame.html new file mode 100644 index 000000000..fcffdf235 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_cancelAnimationFrame.html @@ -0,0 +1,68 @@ + + + + + + + Check if window.cancelRequestAnimationFrame || window.webkitCancelRequestAnimationFrame || window.mozCancelAnimationFrame || window.msCancelAnimationFrame || window.oCancelAnimationFrame; and RequestAnimationFrame invoked sucessfully + + + + +

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"

+

FAIL If the screen doesn't have any animation or red box does not stop while clicks the "Stop" button

+
+ + + +
+ + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_exist.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_exist.html index fa2dd46f0..b50331d49 100644 --- a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_exist.html +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_exist.html @@ -1,6 +1,6 @@ - + + + + + + Check if document's hidden attribute is false, window.webkitRequestAnimationFrame invoked sucessfully + + + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_ignoreOptionalArgs.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_ignoreOptionalArgs.html new file mode 100644 index 000000000..466dc359a --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_ignoreOptionalArgs.html @@ -0,0 +1,64 @@ + + + + + + + check if window.webkitRequestAnimationFrame performs callback when optional arguments are passed + + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_invokeSecondCallback.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_invokeSecondCallback.html new file mode 100644 index 000000000..0754608fa --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_invokeSecondCallback.html @@ -0,0 +1,73 @@ + + + + + + + Check whether window.webkitRequestAnimationFrame can invoke second callback normally + + + + +
+ + + diff --git a/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_singleAnimation.html b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_singleAnimation.html new file mode 100644 index 000000000..c0897942e --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_singleAnimation.html @@ -0,0 +1,59 @@ + + + + + + + check if requestAnimationFrame only schedules a single animation + + + + +

PASS If a red box display a text "500px" on screen

+

FAIL If a red box dosen't display a text "500px" on screen

+
+ +
+ + diff --git a/tct-animationtiming-w3c-tests/animationtiming/w3c/COPYING b/tct-animationtiming-w3c-tests/animationtiming/w3c/COPYING new file mode 100644 index 000000000..bf9562c1d --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/w3c/COPYING @@ -0,0 +1,14 @@ +This test suite comes from +http://w3c-test.org/webperf/tests/submission/Microsoft/requestAnimationFrame/ +without any modification except (1) the necessary +adjustment on reference path to test harness, +(2) adding vendor prefix to requestAnimationFrame/cancelRequestAnimationFrame + +These tests are copyright by W3C and/or the author listed in the test +file. The tests are dual-licensed under the W3C Test Suite License: +http://www.w3.org/Consortium/Legal/2008/04-testsuite-license +and the BSD 3-clause License: +http://www.w3.org/Consortium/Legal/2008/03-bsd-license +under W3C's test suite licensing policy: +http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright + diff --git a/tct-animationtiming-w3c-tests/animationtiming/w3c/Makefile.am b/tct-animationtiming-w3c-tests/animationtiming/w3c/Makefile.am new file mode 100644 index 000000000..f3d672806 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/w3c/Makefile.am @@ -0,0 +1,3 @@ +w3c_SCRIPTS = * +w3cdir = /opt/tct-animationtiming-w3c-tests/animationtiming/w3c +EXTRA_DIST = $(w3c_SCRIPTS) diff --git a/tct-animationtiming-w3c-tests/animationtiming/w3c/paintnotificationharness.js b/tct-animationtiming-w3c-tests/animationtiming/w3c/paintnotificationharness.js new file mode 100644 index 000000000..036aad21b --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/w3c/paintnotificationharness.js @@ -0,0 +1,261 @@ +/* +Distributed under both the W3C Test Suite License [1] and the W3C +3-clause BSD License [2]. To contribute to a W3C Test Suite, see the +policies and contribution forms [3]. + +[1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license +[2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license +[3] http://www.w3.org/2004/10/27-testcases +*/ + +/* Add vendor prefix for cross-browser testing */ +var reqAnimAPI = window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.msRequestAnimationFrame || + oRequestAnimationFrame; +var cancelAnimAPI = window.cancelRequestAnimationFrame || + window.webkitCancelRequestAnimationFrame || + window.mozCancelAnimationFrame || + window.msCancelAnimationFrame || + window.oCancelAnimationFrame; + +var skip_all_tests = false; +var feature_check = false; +var BailEarly = null; + +var old_test = test; +test = function(func, msg) +{ + if ((null == BailEarly) && (reqAnimAPI == undefined)) + { + BailEarly = (reqAnimAPI == undefined) ? true : false; + //We haven't yet printed the window.requestAnimationFrame undefined error + old_test(function() { assert_true(reqAnimAPI !== undefined, msg); }, msg); + } + + if (!BailEarly) + { + old_test(func, msg); + } +} + +function test_paint_interface() +{ + test(function() + { + assert_true(reqAnimAPI !== undefined && + reqAnimAPI != null, + "window.requestAnimationFrame is defined and not null."); + }, "window.requestAnimationFrame is defined and not null."); + + test(function() + { + assert_true(cancelAnimAPI !== undefined && + cancelAnimAPI != null, + "window.cancelRequestAnimationFrame is defined and not null."); + }, "window.cancelRequestAnimationFrame is defined and not null."); +} + + + + +//Animation globals +var startTime; +var obj1; //animation object + +//Callback globals +var runCancelled = false; +var callbackCount = 0; +var multCallbackCount = 3; +var expCallbackCount = 6; + +//Paint alignment to refresh rate globals +var defaultRefresh = 60; +var delta = 5; //Allowed delta from 60Hz +var it = 0; +var refresh = 0; +var SampleSize = 5; //Number of 1 second FPS samplings +var Sample; //current sample + +function RunTests() +{ + //Start Animation while performing tests + obj1 = document.getElementById("div1"); + obj1.style.left = "0px"; + startTime = new Date(); + reqAnimAPI(step); + + //Perform tests + var handle = reqAnimAPI(Callback); //#1 callback + var handleMsg = "window.requestAnimationFrame returns a callback handle."; + test(function(){assert_true(handle !== undefined, handleMsg);}, handleMsg); + + + //requestAnimationFrame allows inline script. #2 callback + reqAnimAPI(function foo() + { + callbackCount++; + var msg = "window.requestAnimationFrame accepts inline script. " + + "Callback " + callbackCount + " of " + expCallbackCount; + test(function(){ assert_true(true, msg); }, msg); + }); + + + //requestAnimationFrame does not accept optional args + reqAnimAPI(CallbackOptArgs, "foo"); //#3 callback + + + //register for multiple same callbacks. #4 to 4+expCallbackCount + //AddNote("#C0C0C0", "Queueing " + multCallbackCount + " multiple same callback attempts."); + for (var i = 0; i < multCallbackCount; i++) + { + reqAnimAPI(MultCallbacks); + } + + //register another callback and then cancel it. + //the callback count should not increase + var temp = reqAnimAPI(CancelledCallback); + if (cancelAnimAPI) + { + cancelAnimAPI(temp); + } + else + { + var msg = "cancelRequestAnimationFrame is not defined. Cannot perform cancel test."; + test(function() { assert_true(false, msg); }, msg); + } + + //Schedule this verification before the final verification. This should fire first. + setTimeout(function() + { + var msg = "window.cancelRequestAnimationFrame cancels callbacks."; + test(function(){ assert_false(runCancelled, msg); }, msg); + + }, 100); // 100 ~= 16.6 ms per 60Hz frame * 6 expected callbacks + + setTimeout(function() + { + var msg = "window.requestAnimationFrame calls all expected callbacks."; + test(function(){ assert_equals(callbackCount, expCallbackCount, msg); }, msg); + + }, 100); // 100 ~= 16.6 ms per 60Hz frame * 6 expected callbacks +} + + +/* +// ========================================================== // +// Animation routine +// ========================================================== // +*/ +function step(timestamp) +{ + var rate = 10; + var width = 1000; + var progress = timestamp - startTime; + obj1.style.left = Math.min(progress / rate, width) + "px"; + if (progress < (width * rate)) + { + reqAnimAPI(step); + } +} + +/* +// ========================================================== // +// Callback general verification +// ========================================================== // +*/ + +function Callback(timestamp) +{ + callbackCount++; + + var msg1 = "window.requestAnimationFrame queues a callback."; + test(function(){ assert_true(true, msg1); }, msg1); + + //Check that requestAnimationFrame has a timestamp + var callbackTime = new Date(timestamp); + + var msg2 = "window.requestAnimationFrame contains a valid timestamp: " + + callbackTime.toTimeString(); + test(function(){ assert_not_equals(callbackTime.valueOf(), NaN, msg2); }, msg2); +} + +function MultCallbacks(timestamp) +{ + callbackCount++; + var msg = "Multiple same callback registrations occur. " + + "Callback " + callbackCount + " of " + expCallbackCount; + test(function(){ assert_true(true, msg); }, msg); +} + +function CallbackOptArgs(timestamp, arg) +{ + callbackCount++; + + var msg1 = "window.requestAnimationFrame performs callback when optional arguments are passed. " + + "Callback " + callbackCount + " of " + expCallbackCount; + test(function(){ assert_true(true, msg1); }, msg1); + + var msg2 = "window.requestAnimationFrame ignores optional passed arguments."; + test(function(){ assert_true(arg == undefined, msg2); }, msg2); +} + +function CancelledCallback(timestamp) +{ + callbackCount++; + runCancelled = true; + + var msg = "window.cancelRequestAnimationFrame not honored. Callback still occurred."; + test(function(){ assert_false(true, msg); }, msg); +} + + +/* +// ========================================================== // +// Callback alignment to paint heart beat functions +// ========================================================== // +*/ +Sample = 0; +function CallbackAlignment() +{ + it = 0; + reqAnimAPI(align); + setTimeout(Calculate, 1000); //Calculate the frames every second +} + +function align(timestamp) +{ + //Don't do anything but iterate so as to not consume time within the frame + it++; + reqAnimAPI(align); +} + +function Calculate() +{ + //Throw away the first sample + if (Sample != 0) + { + var report = it - refresh; + test_within_delta(report, + defaultRefresh, + delta, + "window.requestAnimationFrame aligns with the paint heartbeat: " + report); + } + + refresh = it; + + //Restart animation + if (Sample++ < (SampleSize + 1)) //+1 because we throw away the first sample + { + CallbackAlignment(); + } +} + +function test_within_delta(value, base, delta, msg) +{ + test(function() + { + assert_true((value <= (base + delta)) && (value >= (base - delta)), msg); + }, msg); +} diff --git a/tct-animationtiming-w3c-tests/animationtiming/w3c/test_paint.htm b/tct-animationtiming-w3c-tests/animationtiming/w3c/test_paint.htm new file mode 100644 index 000000000..510f1d417 --- /dev/null +++ b/tct-animationtiming-w3c-tests/animationtiming/w3c/test_paint.htm @@ -0,0 +1,58 @@ + + + + + Paint Notification API Test Suite + + + + + + + + + + +

Description

+

This test validates the existence and functionality of the + WindowAnimationTiming interface + (window.requestAnimationFrame).

+ +

Note: 60Hz is assumed to be the refresh rate of the display. + When verifying that the callbacks align with the display refresh rate, a delta of 5 is permitted. +

+ +
+ + + +
+ + diff --git a/tct-animationtiming-w3c-tests/configure.ac b/tct-animationtiming-w3c-tests/configure.ac index 4d3b820c3..685cdef1f 100644 --- a/tct-animationtiming-w3c-tests/configure.ac +++ b/tct-animationtiming-w3c-tests/configure.ac @@ -3,5 +3,6 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_FILES([Makefile \ animationtiming/Makefile \ +animationtiming/w3c/Makefile \ resources/Makefile testkit/Makefile]) AC_OUTPUT diff --git a/tct-animationtiming-w3c-tests/tests.xml b/tct-animationtiming-w3c-tests/tests.xml index 77000a157..baf0bb965 100644 --- a/tct-animationtiming-w3c-tests/tests.xml +++ b/tct-animationtiming-w3c-tests/tests.xml @@ -63,6 +63,307 @@ + + + + + + + check if FrameRquestCallback ignores optional passed arguments + pass the check + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_ignoreOptionalArgs.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Check whether window.requestAnimationFrame can invoke second callback normally + pass the check + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_invokeSecondCallback.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Check whether window.requestAnimationFrame accepts inline script + pass the check + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_AcceptInlineScript.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Check whether FrameRequestCallback contains a valid timestamp + pass the check + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_validTimestamp.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + check if window.requestAnimationFrame performs callback when optional arguments are passed + pass the check + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_ignoreOptionalArgs.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Multiple callback registrations occur.Callback 4 of 4 + pass the check + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_Callback_FrameRequestCallback_multipleCalls.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Check whether window.requestAnimationFrame expects parameter + Pass + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_NeedParameter.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Click the Stop button + A red box moves from left to right, when click Stop button, the red box won't stop + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_boolean.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Click the Stop button + A red box moves from left to right, when click Stop button, the red box won't stop + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_string.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Click the Stop button + A red box moves from left to right, when click Stop button, the red box won't stop + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_undefined.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Click the Stop button + A red box moves from left to right, when click Stop button, the red box won't stop + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_neg10.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Click the Stop button + Anamition will stop + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_cancelAnimationFrame_validhandle.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + + Click the button Start and then click the button Stop + A red box will move from left to right while click the button Start. The red box will stop while click the button Stop + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_cancelAnimationFrame.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + check if requestAnimationFrame only schedules a single animation + A red box display a text 500px on screen + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_singleAnimation.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + + + + + + + + + Check if document's hidden attribute is false, window.requestAnimationFrame invoked sucessfully + PASS + + + /opt/tct-animationtiming-w3c-tests/animationtiming/AnimationTiming_WindowAnimationTiming_requestAnimationFrame_hidden.html + + + + + http://www.w3.org/TR/2012/WD-animation-timing-20120221/ + TBD + + +