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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html

Issue 2140513004: Moved test not intended for upstreaming to W3C (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/keyframe-exceptions.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html b/third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html
deleted file mode 100644
index a72c5cb7dfbcdf3156173dffa8a4575d190a4af4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<script>
-function assert_throws_with_message(e, f, m) {
- try {
- f();
- } catch(exception) {
- assert_equals(exception.name, e);
- assert_equals(exception.message, m);
- }
-}
-
-test(function() {
- assert_throws_with_message('TypeError',
- function() {
- document.documentElement.animate([
- {offset: 0.6},
- {offset: 0.4}
- ]);
- },
- "Failed to execute 'animate' on 'Element': Keyframes with specified offsets are not sorted"
- );
-
- assert_throws_with_message('TypeError',
- function() {
- document.documentElement.animate([
- {offset: 'a donkey'}
- ]);
- },
- "Failed to execute 'animate' on 'Element': Non numeric offset provided"
- );
-
- assert_throws_with_message('TypeError',
- function() {
- document.documentElement.animate([
- {offset: -1}
- ]);
- },
- "Failed to execute 'animate' on 'Element': Offsets provided outside the range [0, 1]"
- );
-});
-</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/keyframe-exceptions.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698