Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / webexposed / web-animations-api.html
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
5 test(function() {
6     assert_true('animate' in Element.prototype);
7 }, 'Element.animate() should be exposed.');
8
9 test(function() {
10     assert_false('Animation' in window);
11 },'Animation constructor should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayouTests/webexposed.');
12
13 test(function() {
14     assert_false('Timeline' in window);
15 },'Timeline should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayouTests/webexposed.');
16
17 test(function() {
18     assert_false('timeline' in document);
19 },'document.timeline should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayouTests/webexposed.');
20
21 test(function() {
22     assert_false('Timing' in window);
23 },'Timing should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayouTests/webexposed.');
24
25 test(function() {
26     assert_false('TimedItem' in window);
27 },'TimedItem should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayouTests/webexposed.');
28 </script>