From dff4bdffe48d8e87af0d44217663fc91e072500c Mon Sep 17 00:00:00 2001 From: "qunfang.lin" Date: Tue, 18 Feb 2020 03:08:01 +0800 Subject: [PATCH] [common][animations][DPTTIZEN-3175, update tc for web engine version upgrade] Change-Id: Idcff7cee0df0e7fe5a8e87b27149d36311251896 Signed-off-by: qunfang.lin --- ...mationEvent_constructor_animationEventInitDict.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/tct-animations-css3-tests/animations/CSS3Animations_animationEvent_constructor_animationEventInitDict.html b/common/tct-animations-css3-tests/animations/CSS3Animations_animationEvent_constructor_animationEventInitDict.html index 9ff488dd1..90557644c 100755 --- a/common/tct-animations-css3-tests/animations/CSS3Animations_animationEvent_constructor_animationEventInitDict.html +++ b/common/tct-animations-css3-tests/animations/CSS3Animations_animationEvent_constructor_animationEventInitDict.html @@ -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(); -- 2.34.1