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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/animation-onfinish.html

Issue 2643483004: Fix missed renames from renaming LayoutTests/imported/ -> LayoutTests/external/ (Closed)
Patch Set: Created 3 years, 11 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Tests for the finish event</title> 3 <title>Tests for the finish event</title>
4 <link rel="help" href="https://w3c.github.io/web-animations/#the-current-finishe d-promise"> 4 <link rel="help" href="https://w3c.github.io/web-animations/#the-current-finishe d-promise">
5 <script src="../resources/testharness.js"></script> 5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script> 6 <script src="../resources/testharnessreport.js"></script>
7 <script src="../imported/wpt/web-animations/testcommon.js"></script> 7 <script src="../external/wpt/web-animations/testcommon.js"></script>
8 <body> 8 <body>
9 <script> 9 <script>
10 'use strict'; 10 'use strict';
11 function validateFinishEvent(t, event, animation) { 11 function validateFinishEvent(t, event, animation) {
12 t.step(function() { 12 t.step(function() {
13 assert_equals(event, animation, 'Animation should be target'); 13 assert_equals(event, animation, 'Animation should be target');
14 assert_times_equal(event.currentTime, animation.currentTime, 'Event currentT ime should be animation currentTime'); 14 assert_times_equal(event.currentTime, animation.currentTime, 'Event currentT ime should be animation currentTime');
15 }); 15 });
16 } 16 }
17 17
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 validateFinishEvent(t, event, animation2); 72 validateFinishEvent(t, event, animation2);
73 animation2.play(); 73 animation2.play();
74 return animation2.finished; 74 return animation2.finished;
75 }) 75 })
76 return animation2.finished; 76 return animation2.finished;
77 }).then(function(event) { 77 }).then(function(event) {
78 t.done(); 78 t.done();
79 }) 79 })
80 }, "animation.finished calls can be chained"); 80 }, "animation.finished calls can be chained");
81 </script> 81 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698