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

Unified Diff: third_party/WebKit/LayoutTests/animations/function-easing-use-counters-linear.html

Issue 2129783003: Remove linear-function easing TypeError exemption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/function-easing-use-counters-linear.html
diff --git a/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-linear.html b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-linear.html
index 29c56676abdc98d02a9bf4a56d1fc88714da2e3d..8a1814c6678cf2aecad43597a2d39968372d7b6d 100644
--- a/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-linear.html
+++ b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-linear.html
@@ -27,7 +27,9 @@ test(() => {
// This linear function value is the one expected from uses of the unpatched
// Web Animations polyfill (i.e. old versions lacking
// https://github.com/web-animations/web-animations-next/pull/423).
- document.documentElement.animate([], { easing: 'function (a){return a}' });
+ assert_throws(
+ {name: 'TypeError'},
+ function() { document.documentElement.animate([], { easing: 'function (a){return a}' }) });
assert_true(internals.isUseCounted(document, WebAnimationsEasingAsFunctionLinear));
assert_false(internals.isUseCounted(document, WebAnimationsEasingAsFunctionOther));
}, 'A specific linear function for easing is counted in WebAnimationsEasingAsFunctionLinear.');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698