Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../resources/js-test.js"></script> | |
| 3 <script> | |
| 4 description("Check that Element.animate() is not available without experimental web platform features enabled."); | |
| 5 // The expectation is that this will fail in LayoutTests/webexposed (where flags are on) | |
| 6 // 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.
| |
| 7 if ('animate' in Element.prototype) | |
| 8 testFailed("Element.animate() is exposed"); | |
| 9 else | |
| 10 testPassed("Element.animate() is not exposed.") | |
| 11 </script> | |
| OLD | NEW |