Bug 1511235 - part2 : add test. r=jya,baku
Add new webidl method for testing only and a test. Differential Revision: https://phabricator.services.mozilla.com/D13805
This commit is contained in:
@@ -1630,6 +1630,10 @@ void HTMLMediaElement::SetVisible(bool aVisible) {
|
||||
}
|
||||
}
|
||||
|
||||
bool HTMLMediaElement::IsVideoDecodingSuspended() const {
|
||||
return mDecoder && mDecoder->IsVideoDecodingSuspended();
|
||||
}
|
||||
|
||||
already_AddRefed<layers::Image> HTMLMediaElement::GetCurrentImage() {
|
||||
MarkAsTainted();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user