Bug 1461338 - [1.0] Fix event name typo. r=snorp

This commit is contained in:
Eugen Sawin 2018-05-17 00:39:55 +02:00
parent 2a7f77fea4
commit 9a9910a3db

View File

@ -23,9 +23,9 @@ class GeckoViewContent extends GeckoViewModule {
}
onEnable() {
this.window.addEventListener("MozDOMFullScreen:Entered", this,
this.window.addEventListener("MozDOMFullscreen:Entered", this,
/* capture */ true, /* untrusted */ false);
this.window.addEventListener("MozDOMFullScreen:Exited", this,
this.window.addEventListener("MozDOMFullscreen:Exited", this,
/* capture */ true, /* untrusted */ false);
this.messageManager.addMessageListener("GeckoView:DOMFullscreenExit", this);
@ -33,9 +33,9 @@ class GeckoViewContent extends GeckoViewModule {
}
onDisable() {
this.window.removeEventListener("MozDOMFullScreen:Entered", this,
this.window.removeEventListener("MozDOMFullscreen:Entered", this,
/* capture */ true);
this.window.removeEventListener("MozDOMFullScreen:Exited", this,
this.window.removeEventListener("MozDOMFullscreen:Exited", this,
/* capture */ true);
this.messageManager.removeMessageListener("GeckoView:DOMFullscreenExit", this);