Chromium Code Reviews| Index: LayoutTests/webexposed/element-animate.html |
| diff --git a/LayoutTests/webexposed/element-animate.html b/LayoutTests/webexposed/element-animate.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..091b901544ef3407e9f929f1e247d6c1b011988a |
| --- /dev/null |
| +++ b/LayoutTests/webexposed/element-animate.html |
| @@ -0,0 +1,11 @@ |
| +<!DOCTYPE html> |
| +<script src="../resources/js-test.js"></script> |
| +<script> |
| +description("Check that Element.animate() is not available without experimental web platform features enabled."); |
| +// The expectation is that this will fail in LayoutTests/webexposed (where flags are on) |
| +// and pass in LayoutTests/virtual/stable/webexposed (where flags are off). |
|
Steve Block
2013/12/11 05:24:08
This comment is probably superfluous and likely to
rjwright
2013/12/11 05:44:47
Done.
|
| +if ('animate' in Element.prototype) |
| + testFailed("Element.animate() is exposed"); |
| +else |
| + testPassed("Element.animate() is not exposed.") |
| +</script> |