Bug 1244768 part 4 - call NotifyAboutPlaying() while ready state is changed; r=jwwang

4.8.12.7
https://html.spec.whatwg.org/multipage/embedded-content.html#ready-states

MozReview-Commit-ID: 1RUIU6Rw2SF
This commit is contained in:
Kaku Kuo
2016-08-05 16:42:31 +08:00
parent 481260964e
commit ae0528cb46

View File

@@ -5546,7 +5546,7 @@ void HTMLMediaElement::ChangeReadyState(nsMediaReadyState aState)
DispatchAsyncEvent(NS_LITERAL_STRING("canplay"));
if (!mPaused) {
mWaitingForKey = NOT_WAITING_FOR_KEY;
DispatchAsyncEvent(NS_LITERAL_STRING("playing"));
NotifyAboutPlaying();
}
}