зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1336400 - part2 : remove MozAutoplayEnabled attribute from HTMLMediaElement. r=smaug
MozReview-Commit-ID: FK5F2zkXRjT --HG-- extra : rebase_source : 73620e7323e938e47e69b996e2c8aa2fc1e549f7
This commit is contained in:
Родитель
6ca5ef0e03
Коммит
3afdf8f65d
|
@ -1683,13 +1683,6 @@ HTMLMediaElement::SetSrcObject(DOMMediaStream* aValue)
|
|||
DoLoad();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP HTMLMediaElement::GetMozAutoplayEnabled(bool *aAutoplayEnabled)
|
||||
{
|
||||
*aAutoplayEnabled = mAutoplayEnabled;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
bool
|
||||
HTMLMediaElement::Ended()
|
||||
{
|
||||
|
|
|
@ -681,11 +681,6 @@ public:
|
|||
|
||||
void NotifyWaitingForKey() override;
|
||||
|
||||
bool MozAutoplayEnabled() const
|
||||
{
|
||||
return mAutoplayEnabled;
|
||||
}
|
||||
|
||||
already_AddRefed<DOMMediaStream> CaptureAudio(ErrorResult& aRv,
|
||||
MediaStreamGraph* aGraph);
|
||||
|
||||
|
|
|
@ -62,7 +62,6 @@ interface nsIDOMHTMLMediaElement : nsISupports
|
|||
readonly attribute nsIDOMTimeRanges played;
|
||||
readonly attribute nsIDOMTimeRanges seekable;
|
||||
readonly attribute boolean ended;
|
||||
readonly attribute boolean mozAutoplayEnabled;
|
||||
attribute boolean autoplay;
|
||||
attribute boolean loop;
|
||||
void pause();
|
||||
|
|
|
@ -113,7 +113,6 @@ partial interface HTMLMediaElement {
|
|||
attribute MediaStream? srcObject;
|
||||
|
||||
attribute boolean mozPreservesPitch;
|
||||
readonly attribute boolean mozAutoplayEnabled;
|
||||
|
||||
// NB: for internal use with the video controls:
|
||||
[Func="IsChromeOrXBL"] attribute boolean mozAllowCasting;
|
||||
|
|
Загрузка…
Ссылка в новой задаче