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

Unified Diff: third_party/WebKit/LayoutTests/animations/finish-event-after-gc.html

Issue 2976603002: Move animation event tests to subdirectory (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/finish-event-after-gc.html
diff --git a/third_party/WebKit/LayoutTests/animations/finish-event-after-gc.html b/third_party/WebKit/LayoutTests/animations/finish-event-after-gc.html
deleted file mode 100644
index 7cba44fbb539ef19b86c2f9360217699a5c934be..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/finish-event-after-gc.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<body>
-<script>
-var layoutTest = async_test('Finish event should be delivered even if a GC occurs. This test passes if it does not time out.');
-var events = 0;
-
-function finish() {
- if (window.GCController)
- GCController.collect();
- if (++events == 2)
- layoutTest.done();
-}
-
-// Use a distinct, unreferenced instance of the handler function.
-document.body.animate([]).onfinish = finish.bind();
-document.body.animate([]).onfinish = finish.bind();
-
-if (window.GCController)
- GCController.collect();
-</script>

Powered by Google App Engine
This is Rietveld 408576698