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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/AnimationEffectTiming/easing.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 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/LayoutTests/external/wpt/web-animations/interfaces/AnimationEffectTiming/easing.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/AnimationEffectTiming/easing.html b/third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/AnimationEffectTiming/easing.html
index cedd7e68b1dbc0729929f563555b4f81f5573a58..6c3d305c92a128f1adb2cbe6a9b6d8e2a395fdbd 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/AnimationEffectTiming/easing.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/web-animations/interfaces/AnimationEffectTiming/easing.html
@@ -5,7 +5,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../testcommon.js"></script>
-<script src="../../resources/effect-easing-tests.js"></script>
+<script src="../../resources/easing-tests.js"></script>
<body>
<div id="log"></div>
<script>
@@ -21,7 +21,7 @@ function assert_progress(animation, currentTime, easingFunction) {
easingFunction(portion) + ' at ' + currentTime + 'ms');
}
-gEffectEasingTests.forEach(function(options) {
+gEasingTests.forEach(function(options) {
test(function(t) {
var target = createDiv(t);
var anim = target.animate([ { opacity: 0 }, { opacity: 1 } ],
@@ -40,15 +40,15 @@ gEffectEasingTests.forEach(function(options) {
}, options.desc);
});
-gInvalidEasingTests.forEach(function(options) {
+gInvalidEasings.forEach(function(invalidEasing) {
test(function(t) {
var div = createDiv(t);
var anim = div.animate({ opacity: [ 0, 1 ] }, 100 * MS_PER_SEC);
assert_throws({ name: 'TypeError' },
function() {
- anim.effect.timing.easing = options.easing;
+ anim.effect.timing.easing = invalidEasing;
});
- }, 'Invalid effect easing value test: \'' + options.easing + '\'');
+ }, 'Invalid effect easing value test: \'' + invalidEasing + '\'');
});
test(function(t) {

Powered by Google App Engine
This is Rietveld 408576698