| commit | d8a910760e0c33dc93b4751e330b729936a1df5c | [log] [tgz] |
|---|---|---|
| author | suzyh <suzyh@chromium.org> | Thu Jul 14 01:22:13 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Thu Jul 14 01:25:04 2016 |
| tree | 584931764ab5893107e742993af37c90b9bd4a70 | |
| parent | cccf7f52f023861b85f724af1627c87abb8a4766 [diff] |
Rewrite test in terms of promise rejection This patch rewrites animation-finish-event-cancelled.html to listen for rejection of the animation's finished promise instead of using a combination of onfinish and assertions about code being unreached. This makes the test easier to read and brings it more in line with the style of tests in the web-platform-tests suite. BUG=623437 Review-Url: https://codereview.chromium.org/2145263002 Cr-Commit-Position: refs/heads/master@{#405384}