Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / web-animations-api / player-unresolved-times.html
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4
5 <script>
6 function assert_unresolved(value) {
7   assert_equals(value, null);
8 }
9
10 test(function() {
11   var player = document.documentElement.animate([], 100000);
12   player.cancel();
13   assert_unresolved(player.startTime);
14   assert_unresolved(player.currentTime);
15 }, "unresolved startTime and currentTime");
16
17 </script>