зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1016707 - Remove keysystem attribute from source element, as it's no longer in the spec. r=bz
This commit is contained in:
Родитель
0bcb34fd1e
Коммит
276e604429
|
@ -944,9 +944,6 @@ void HTMLMediaElement::LoadFromSourceChildren()
|
|||
ReportLoadError("MediaLoadUnsupportedTypeAttribute", params, ArrayLength(params));
|
||||
continue;
|
||||
}
|
||||
// TODO: "If candidate has a keySystem attribute whose value represents a
|
||||
// Key System that the user agent knows it cannot use with type,
|
||||
// then end the synchronous section[...]" (Bug 1016707)
|
||||
nsAutoString media;
|
||||
HTMLSourceElement *childSrc = HTMLSourceElement::FromContent(child);
|
||||
MOZ_ASSERT(childSrc, "Expect child to be HTMLSourceElement");
|
||||
|
|
|
@ -91,16 +91,6 @@ public:
|
|||
SetHTMLAttr(nsGkAtoms::media, aMedia, rv);
|
||||
}
|
||||
|
||||
void GetKeySystem(nsString& aKeySystem) const
|
||||
{
|
||||
GetHTMLAttr(nsGkAtoms::keysystem, aKeySystem);
|
||||
}
|
||||
|
||||
void SetKeySystem(const nsAString& aKeySystem)
|
||||
{
|
||||
SetHTMLAttr(nsGkAtoms::keysystem, aKeySystem);
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual ~HTMLSourceElement();
|
||||
|
||||
|
|
|
@ -26,9 +26,3 @@ partial interface HTMLSourceElement {
|
|||
[SetterThrows]
|
||||
attribute DOMString media;
|
||||
};
|
||||
|
||||
// Encrypted Media Extensions
|
||||
partial interface HTMLSourceElement {
|
||||
[Pref="media.eme.enabled"]
|
||||
attribute DOMString keySystem;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче