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

Unified Diff: third_party/WebKit/LayoutTests/animations/pause-crash.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/pause-crash.html
diff --git a/third_party/WebKit/LayoutTests/animations/pause-crash.html b/third_party/WebKit/LayoutTests/animations/pause-crash.html
deleted file mode 100644
index 44d227f48b9888322fb511e3a1e77777bfe7ef14..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/pause-crash.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>
-<head>
- <title>Pause and resume animation should not crash</title>
- <style type="text/css" media="screen">
- .box {
- height: 100px;
- width: 100px;
- margin: 10px;
- background-color: blue;
- animation-duration: 2s;
- animation-direction: alternate;
- animation-iteration-count: infinite;
- }
-
- @keyframes anim {
- from { transform: matrix3d(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1); }
- to { transform: matrix3d(1,0,0,0, 0,1,0,0, 0,0,1,0, 400,0,0,1); }
- }
- </style>
- <script type="text/javascript" charset="utf-8">
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function animationStarted()
- {
- setTimeout(function() {
- document.getElementById('box1').style.animationPlayState = "paused";
- setTimeout(function() {
- document.getElementById('box1').style.animationPlayState = "running";
- setTimeout(function() {
- document.getElementById('results').innerHTML = 'Did not crash, so PASSED';
- if (window.testRunner)
- testRunner.notifyDone();
- }, 50);
- }, 50);
- }, 50);
- }
-
- function startTest()
- {
- document.getElementById('box1').addEventListener('animationstart', animationStarted);
- document.getElementById('box1').style.animationName = "anim";
- }
-
- window.addEventListener('load', startTest, false);
- </script>
-</head>
-<body>
-
-<p>Tests pause and resume animation. Should not crash. (https://bugs.webkit.org/show_bug.cgi?id=67510)</p>
-
-<div id="container">
- <div id="box1" class="box"></div>
-</div>
-<div id="results"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698