Bug 1244768 part 3 - modify the resource selection algorithm; r=jwwang
4.8.12.5 https://html.spec.whatwg.org/multipage/embedded-content.html#concept-media-load-algorithm https://html.spec.whatwg.org/multipage/embedded-content.html#dedicated-media-source-failure-steps MozReview-Commit-ID: DKFQC4v92Vi
This commit is contained in:
@@ -1695,6 +1695,7 @@ void HTMLMediaElement::NoSupportedMediaSourceError(const nsACString& aErrorDetai
|
||||
mErrorSink->SetError(MEDIA_ERR_SRC_NOT_SUPPORTED, aErrorDetails);
|
||||
ChangeDelayLoadStatus(false);
|
||||
UpdateAudioChannelPlayingState();
|
||||
RejectPromises(TakePendingPlayPromises(), NS_ERROR_DOM_MEDIA_NOT_SUPPORTED_ERR);
|
||||
}
|
||||
|
||||
typedef void (HTMLMediaElement::*SyncSectionFn)();
|
||||
|
||||
Reference in New Issue
Block a user