Upstream version 9.38.198.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('getAnimationPlayers' in Element.prototype);
11 }, 'Element.getAnimationPlayers() should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayoutTests/webexposed.')
12
13 test(function() {
14     assert_false('Animation' in window);
15 },'Animation constructor should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayoutTests/webexposed.');
16
17 test(function() {
18     assert_false('AnimationTimeline' in window);
19 },'Timeline should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayoutTests/webexposed.');
20
21 test(function() {
22     assert_false('timeline' in document);
23 },'document.timeline should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayoutTests/webexposed.');
24
25 test(function() {
26     assert_false('Timing' in window);
27 },'Timing should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayoutTests/webexposed.');
28
29 test(function() {
30     assert_false('AnimationNode' in window);
31 },'AnimationNode should not be exposed without experimental web platform features enabled.\nThis test is expected to fail in LayoutTests/webexposed.');
32 </script>