Bug 1304134. Part 2 - per spec. fire 'playing' when autoplay is activated. r=cpearce

MozReview-Commit-ID: 4fFUvquMgEC
This commit is contained in:
JW Wang
2016-09-23 14:05:44 +08:00
parent eacc863b95
commit 518fc1c4c9

View File

@@ -4977,6 +4977,8 @@ void HTMLMediaElement::CheckAutoplayDataReady()
// For blocked media, the event would be pending until it is resumed.
DispatchAsyncEvent(NS_LITERAL_STRING("play"));
DispatchAsyncEvent(NS_LITERAL_STRING("playing"));
}
bool HTMLMediaElement::IsActive() const