From 407efd015be78366e7a344ec8d36d91523b9c980 Mon Sep 17 00:00:00 2001 From: "rniwa@webkit.org" Date: Tue, 11 Jun 2013 04:16:18 +0000 Subject: [PATCH 1/1] Use shouldBeType in animations/keyframes-rule.html https://bugs.webkit.org/show_bug.cgi?id=117439 Reviewed by Andreas Kling. Merge https://chromium.googlesource.com/chromium/blink/+/7eb727a7d5765eaa1779e00a45ac9f63e2e0047f * animations/keyframes-rule-expected.txt: * animations/keyframes-rule.html: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151418 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 12 ++++++++++++ LayoutTests/animations/keyframes-rule-expected.txt | 2 +- LayoutTests/animations/keyframes-rule.html | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 7a936a74fc1d..40185ec154e6 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,15 @@ +2013-06-10 Ryosuke Niwa + + Use shouldBeType in animations/keyframes-rule.html + https://bugs.webkit.org/show_bug.cgi?id=117439 + + Reviewed by Andreas Kling. + + Merge https://chromium.googlesource.com/chromium/blink/+/7eb727a7d5765eaa1779e00a45ac9f63e2e0047f + + * animations/keyframes-rule-expected.txt: + * animations/keyframes-rule.html: + 2013-06-10 Gyuyoung Kim Unreviewed, EFL gardening. Fix wrong expectation result on 151416. diff --git a/LayoutTests/animations/keyframes-rule-expected.txt b/LayoutTests/animations/keyframes-rule-expected.txt index 51aa8dc1b7fc..bc6946c22440 100644 --- a/LayoutTests/animations/keyframes-rule-expected.txt +++ b/LayoutTests/animations/keyframes-rule-expected.txt @@ -36,7 +36,7 @@ PASS rules2.item(0).cssText is '0% { left: 10px; }' PASS rules2.item(1).cssText is '50% { left: 30px; }' PASS rules2.item(2).cssText is '100% { left: 20px; }' -PASS typeof(rules2.item(0).style) is typeof(CSSStyleDeclaration) +PASS rules2.item(0).style is an instance of CSSStyleDeclaration PASS rules2.item(0).style.length is 1 Find a rule diff --git a/LayoutTests/animations/keyframes-rule.html b/LayoutTests/animations/keyframes-rule.html index d6da2bb9e0f5..cb04166fde02 100644 --- a/LayoutTests/animations/keyframes-rule.html +++ b/LayoutTests/animations/keyframes-rule.html @@ -96,7 +96,7 @@ shouldBe("rules2.item(2).cssText", "'100% { left: 20px; }'"); debug(""); -shouldBe("typeof(rules2.item(0).style)", "typeof(CSSStyleDeclaration)"); +shouldBeType("rules2.item(0).style", "CSSStyleDeclaration"); shouldBe("rules2.item(0).style.length", "1"); debug(""); -- 2.36.0