| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>endDelay tests</title> | 3 <title>endDelay tests</title> |
| 4 <link rel="help" href="http://w3c.github.io/web-animations/#dom-animationeffectt
iming-enddelay"> | 4 <link rel="help" href="http://w3c.github.io/web-animations/#dom-animationeffectt
iming-enddelay"> |
| 5 <link rel="author" title="Ryo Motozawa" href="mailto:motozawa@mozilla-japan.org"
> | 5 <link rel="author" title="Ryo Motozawa" href="mailto:motozawa@mozilla-japan.org"
> |
| 6 <script src="../../../../resources/testharness.js"></script> | 6 <script src="../../../../resources/testharness.js"></script> |
| 7 <script src="../../../../resources/testharnessreport.js"></script> | 7 <script src="../../../../resources/testharnessreport.js"></script> |
| 8 <script src="../testcommon.js"></script> | 8 <script src="../testcommon.js"></script> |
| 9 <body> | 9 <body> |
| 10 <div id="log"></div> | 10 <div id="log"></div> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 })).then(t.step_func_done(function() { | 89 })).then(t.step_func_done(function() { |
| 90 assert_equals(receivedEvents.length, 1, 'length of array should be one'); | 90 assert_equals(receivedEvents.length, 1, 'length of array should be one'); |
| 91 assert_equals(receivedEvents[0].timelineTime, finishedTimelineTime, | 91 assert_equals(receivedEvents[0].timelineTime, finishedTimelineTime, |
| 92 'receivedEvents[0].timelineTime should equal to the animation timeline ' | 92 'receivedEvents[0].timelineTime should equal to the animation timeline ' |
| 93 + 'when finished promise is resolved'); | 93 + 'when finished promise is resolved'); |
| 94 })); | 94 })); |
| 95 }, 'onfinish event is fired currentTime is after endTime'); | 95 }, 'onfinish event is fired currentTime is after endTime'); |
| 96 | 96 |
| 97 </script> | 97 </script> |
| 98 </body> | 98 </body> |
| OLD | NEW |