Bug 1554699 - Don't fire "timeupdate" in PlayInternal as it's against spec, v2. r=jya

This FireTimeUpdate(false) dates back to bug 611994. Perhaps it was spec
compliant back in the day, but it surely isn't now.

Differential Revision: https://phabricator.services.mozilla.com/D33651

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Pehrson 2019-06-11 11:49:35 +00:00
parent 59ee4efe41
commit 6571c8612d

View File

@ -3795,7 +3795,6 @@ void HTMLMediaElement::PlayInternal(bool aHandlingUserInput) {
break;
case HAVE_METADATA:
case HAVE_CURRENT_DATA:
FireTimeUpdate(false);
DispatchAsyncEvent(NS_LITERAL_STRING("waiting"));
break;
case HAVE_FUTURE_DATA: