| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
| 4 <script> | 4 <script> |
| 5 test(function() { | 5 test(function() { |
| 6 assert_true('animate' in Element.prototype); | 6 assert_true('animate' in Element.prototype); |
| 7 }, 'Element.animate() should be exposed.'); | 7 }, 'Element.animate() should be exposed.'); |
| 8 | 8 |
| 9 test(function() { | 9 test(function() { |
| 10 assert_false('getAnimations' in Element.prototype); | 10 assert_false('getAnimations' in Element.prototype); |
| 11 }, 'Element.getAnimations() should not be exposed without experimental web platf
orm features enabled.\nThis test is expected to fail in LayoutTests/webexposed.'
) | 11 }, 'Element.getAnimations() should not be exposed without experimental web platf
orm features enabled.\nThis test is expected to fail in LayoutTests/webexposed.'
) |
| 12 | 12 |
| 13 test(function() { | 13 test(function() { |
| 14 assert_false('Animation' in window); | 14 assert_true('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.'); | 15 },'Animation constructor should be exposed.'); |
| 16 | 16 |
| 17 test(function() { | 17 test(function() { |
| 18 assert_false('AnimationTimeline' in window); | 18 assert_false('AnimationTimeline' in window); |
| 19 },'Timeline should not be exposed without experimental web platform features ena
bled.\nThis test is expected to fail in LayoutTests/webexposed.'); | 19 },'Timeline should not be exposed without experimental web platform features ena
bled.\nThis test is expected to fail in LayoutTests/webexposed.'); |
| 20 | 20 |
| 21 test(function() { | 21 test(function() { |
| 22 assert_false('timeline' in document); | 22 assert_false('timeline' in document); |
| 23 },'document.timeline should not be exposed without experimental web platform fea
tures enabled.\nThis test is expected to fail in LayoutTests/webexposed.'); | 23 },'document.timeline should not be exposed without experimental web platform fea
tures enabled.\nThis test is expected to fail in LayoutTests/webexposed.'); |
| 24 | 24 |
| 25 test(function() { | 25 test(function() { |
| 26 assert_false('Timing' in window); | 26 assert_false('Timing' in window); |
| 27 },'Timing should not be exposed without experimental web platform features enabl
ed.\nThis test is expected to fail in LayoutTests/webexposed.'); | 27 },'Timing should not be exposed without experimental web platform features enabl
ed.\nThis test is expected to fail in LayoutTests/webexposed.'); |
| 28 | 28 |
| 29 test(function() { | 29 test(function() { |
| 30 assert_false('AnimationNode' in window); | 30 assert_false('AnimationNode' in window); |
| 31 },'AnimationNode should not be exposed without experimental web platform feature
s enabled.\nThis test is expected to fail in LayoutTests/webexposed.'); | 31 },'AnimationNode should not be exposed without experimental web platform feature
s enabled.\nThis test is expected to fail in LayoutTests/webexposed.'); |
| 32 </script> | 32 </script> |
| OLD | NEW |