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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/player-cancel-events-nofinish.html

Issue 2141823002: Prepare animation-finish-event-cancelled for upstreaming (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
Index: third_party/WebKit/LayoutTests/web-animations-api/player-cancel-events-nofinish.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-events-nofinish.html b/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-events-nofinish.html
deleted file mode 100644
index 0941323957bd5060effb7a0e9b87addf04b6bb61..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-events-nofinish.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<body>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script>
-var anim1 = document.body.animate([], 100000);
-var anim2 = document.body.animate([], 100000);
-var anim3 = document.body.animate([], 100000);
-
-var noFinish = async_test('Animation finish event should not fire when cancelled');
-
-anim1.onfinish = function() {
- noFinish.step(function() {
- anim3.finish();
- });
-};
-
-anim2.onfinish = function() {
- noFinish.step(function() {
- assert_true(false);
- });
-};
-
-anim3.onfinish = function() {
- noFinish.done();
-};
-
-anim1.finish();
-anim2.cancel();
-</script>

Powered by Google App Engine
This is Rietveld 408576698