commit | 3a82d82079ca79cddd932eb77f924db5428885b9 | [log] [tgz] |
---|---|---|
author | mlamouri <mlamouri@chromium.org> | Tue Jun 07 21:25:33 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 07 21:26:55 2016 |
tree | 2c3b420eda91a356fe97b6d602f44c5ef7869db8 | |
parent | a55ed003ab5d1a34d0b7b00e2a662aae272d71d8 [diff] |
Fix race when HTMLMediaElement.play() is called just after pause(). The consequence is that the Promise returned by play() is rejected by the task created by pause(). The fix is to associate the tasks with a list of promises. BUG=593273 Review-Url: https://codereview.chromium.org/1865933002 Cr-Commit-Position: refs/heads/master@{#398370}