Bug 1583882 - Remove vestigial TogglePictureInPicture privileged method on HTMLVideoElement. r=webidl,dminor,smaug*
Differential Revision: https://phabricator.services.mozilla.com/D47611
This commit is contained in:
@@ -539,15 +539,5 @@ void HTMLVideoElement::EndCloningVisually() {
|
||||
}
|
||||
}
|
||||
|
||||
void HTMLVideoElement::TogglePictureInPicture(ErrorResult& error) {
|
||||
// The MozTogglePictureInPicture event is listen for via the
|
||||
// PictureInPictureChild actor, which is responsible for opening the new
|
||||
// window and starting the visual clone.
|
||||
nsresult rv = DispatchEvent(NS_LITERAL_STRING("MozTogglePictureInPicture"));
|
||||
if (NS_FAILED(rv)) {
|
||||
error.Throw(rv);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
Reference in New Issue
Block a user