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

Unified Diff: third_party/WebKit/LayoutTests/animations/usecounter-tests/function-easing-use-counters-other1.html

Issue 2971753002: Rename usecounter-tests directory to usecounters (Closed)
Patch Set: Created 3 years, 5 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/animations/usecounter-tests/function-easing-use-counters-other1.html
diff --git a/third_party/WebKit/LayoutTests/animations/usecounter-tests/function-easing-use-counters-other1.html b/third_party/WebKit/LayoutTests/animations/usecounter-tests/function-easing-use-counters-other1.html
deleted file mode 100644
index fc932b0d08fd519682631f9d39869161f073c718..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/usecounter-tests/function-easing-use-counters-other1.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script>
-'use strict';
-// From UseCounter.h
-var WebAnimationsEasingAsFunctionLinear = 1295;
-var WebAnimationsEasingAsFunctionOther = 1296;
-
-test(() => {
- assert_throws(
- {name: 'TypeError'},
- function() { document.documentElement.animate([], { easing: 'function (x){return x}' }) });
- assert_false(internals.isUseCounted(document, WebAnimationsEasingAsFunctionLinear));
- assert_true(internals.isUseCounted(document, WebAnimationsEasingAsFunctionOther));
-}, 'Any linear function for easing other than "function (a){return a}" is counted in WebAnimationsEasingAsFunctionOther.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698