Bug 1309162 - part6 : remove useless comment.
These comments should be removed after landing bug1302350.
MozReview-Commit-ID: 7N0cWImZDDI
--- a/dom/html/HTMLMediaElement.cpp
+++ b/dom/html/HTMLMediaElement.cpp
@@ -3616,19 +3616,16 @@ HTMLMediaElement::PlayInternal()
mAutoplaying = false;
// We changed mPaused and mAutoplaying which can affect AddRemoveSelfReference
// and our preload status.
AddRemoveSelfReference();
UpdatePreloadAction();
UpdateSrcMediaStreamPlaying();
- // We should check audio channel playing state before dispatching any events,
- // because we don't want to dispatch events for blocked media. For blocked
- // media, the event would be pending until media is resumed.
// TODO: If the playback has ended, then the user agent must set
// seek to the effective start.
if (oldPaused) {
DispatchAsyncEvent(NS_LITERAL_STRING("play"));
switch (mReadyState) {
case nsIDOMHTMLMediaElement::HAVE_NOTHING:
DispatchAsyncEvent(NS_LITERAL_STRING("waiting"));
break;