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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/composited-identity-animation-layer-squash-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 unified diff | Download patch
OLDNEW
(Empty)
1 <script src="../resources/testharness.js"></script>
2 <script src="../resources/testharnessreport.js"></script>
3 <div id="opacity">
4 <div style="position: relative"></div>
5 </div>
6 <div id="transform">
7 <div style="position: relative"></div>
8 </div>
9 <script>
10 var asyncHandle = async_test('This test passes if it does not crash.');
11 var opacityPlayer = opacity.animate([
12 {opacity: 1},
13 {opacity: 1},
14 ], 1e6);
15 var transformPlayer = transform.animate([
16 {transform: 'none'},
17 {transform: 'none'},
18 ], 1e6);
19 requestAnimationFrame(function() {
20 opacityPlayer.cancel();
21 transformPlayer.cancel();
22 requestAnimationFrame(function() {
23 asyncHandle.done();
24 });
25 });
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698