[common][animations][DPTTIZEN-3175, update tc for web engine version upgrade] 32/225032/1
authorqunfang.lin <qunfang.lin@samsung.com>
Mon, 17 Feb 2020 19:08:01 +0000 (03:08 +0800)
committerqunfang.lin <qunfang.lin@samsung.com>
Mon, 17 Feb 2020 19:10:59 +0000 (03:10 +0800)
Change-Id: Idcff7cee0df0e7fe5a8e87b27149d36311251896
Signed-off-by: qunfang.lin <qunfang.lin@samsung.com>
common/tct-animations-css3-tests/animations/CSS3Animations_animationEvent_constructor_animationEventInitDict.html

index 9ff488dd1429174eeb0c48614a73011fa9a774b5..90557644cd35d2d32fc25943b866618ad220d669 100755 (executable)
@@ -38,16 +38,16 @@ Authors:
         var EXPECT_RESULT = 2;
         function RunTest() {
             try {
-                var AnimationEvent = new WebKitAnimationEvent("AnimationEvent", {animationName : "A", elapsedTime : 0.3, pseudoElement : "C"});
-                if (typeof AnimationEvent == "object" && AnimationEvent instanceof WebKitAnimationEvent) {
-                    assert_equals(AnimationEvent.animationName, "A", "The element animationName value Test");
-                    assert_equals(AnimationEvent.elapsedTime, 0.3, "The element elapsedTime value Test");
+                var AE = new AnimationEvent("AnimationEvent", {animationName : "A", elapsedTime : 0.3, pseudoElement : "C"});
+                if (typeof AE == "object" && AE instanceof AnimationEvent) {
+                    assert_equals(AE.animationName, "A", "The element animationName value Test");
+                    assert_equals(AE.elapsedTime, 0.3, "The element elapsedTime value Test");
                     t.done();
                 } else {
                     assert_unreached("not create a AnimationEvent object");
                 }
             } catch (ex) {
-                assert_unreached("{Error Name: " + ex.name + ": " + typeof AnimationEvent +"}");
+                assert_unreached("{Error Name: " + ex.name + ": " + typeof AE +"}");
             }
         }
         RunTest();