Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| index 477cbbbd0a63ee29b73920abdcffb48bba5588b0..41cb9f8ca61697ee8159d6daaaa4b820b02e375c 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
| @@ -2913,6 +2913,7 @@ void HTMLMediaElement::timeChanged() |
| // changes paused to true and fires a simple event named pause at the media element. |
| m_paused = true; |
| scheduleEvent(EventTypeNames::pause); |
| + scheduleRejectPlayPromises(AbortError); |
|
foolip
2016/08/18 20:16:17
Add a TODO to add event firing and rejection in th
mlamouri (slow - plz ping)
2016/08/19 09:26:29
It is bug 587871. Given that we never bundle promi
|
| } |
| // Queue a task to fire a simple event named ended at the media element. |
| scheduleEvent(EventTypeNames::ended); |