Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Unified Diff: third_party/WebKit/Source/core/animation/EffectInputTest.cpp

Issue 1720403002: Alternative syntax for element.animate list of keyframes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@animations-keyframeeffect-api
Patch Set: Change to error types and how offset/composite are handled, plus minor fixes Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/EffectInputTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/EffectInputTest.cpp b/third_party/WebKit/Source/core/animation/EffectInputTest.cpp
index 9a3676c60710ac7cac524375e4f8fe48ab7d593b..73a4b97249c81333aab7ec1d956014f43590f36f 100644
--- a/third_party/WebKit/Source/core/animation/EffectInputTest.cpp
+++ b/third_party/WebKit/Source/core/animation/EffectInputTest.cpp
@@ -73,7 +73,7 @@ TEST_F(AnimationEffectInputTest, UnsortedOffsets)
EffectInput::convert(element.get(), EffectModelOrDictionarySequenceOrDictionary::fromDictionarySequence(jsKeyframes), exceptionState);
EXPECT_TRUE(exceptionState.hadException());
- EXPECT_EQ(InvalidModificationError, exceptionState.code());
+ EXPECT_EQ(V8TypeError, exceptionState.code());
}
TEST_F(AnimationEffectInputTest, LooslySorted)
@@ -144,7 +144,7 @@ TEST_F(AnimationEffectInputTest, Invalid)
EffectInput::convert(element.get(), EffectModelOrDictionarySequenceOrDictionary::fromDictionarySequence(jsKeyframes), exceptionState);
EXPECT_TRUE(exceptionState.hadException());
- EXPECT_EQ(InvalidModificationError, exceptionState.code());
+ EXPECT_EQ(V8TypeError, exceptionState.code());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698