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

Unified Diff: third_party/WebKit/LayoutTests/animations/restart-not-visible.html

Issue 2966953002: Move animations crash tests to subdirectory (Closed)
Patch Set: Rename crash-tests/ to stability/ 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/restart-not-visible.html
diff --git a/third_party/WebKit/LayoutTests/animations/restart-not-visible.html b/third_party/WebKit/LayoutTests/animations/restart-not-visible.html
deleted file mode 100644
index f8c094b7f80d1bc2a18698eb3e2fd7394575be62..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/restart-not-visible.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<style>
-.run {
- animation: foo 1s infinite alternate;
-}
-
-@keyframes foo {
- 100% {
- transform: translateX(100px)
- }
-}
-</style>
-<div id="target"></div>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script>
-var test = async_test('Race between visibility and set compositor pending should not crash');
-requestAnimationFrame(t => {
- requestAnimationFrame(t => {
- target.classList.add('run');
- setTimeout(() => {
- testRunner.setPageVisibility("hidden");
- target.style.transform = 'translateX(50px)';
- target.offsetTop;
- setTimeout(() => {
- test.done();
- }, 0);
- }, 0);
- });
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698