Commit 540b8dd4 authored by Raine Makelainen's avatar Raine Makelainen Committed by chriadam

[embedlite-components] Drop "embed:domcontentloaded" message. Contributes to JB#35379

Use "chrome:contentloaded" in case needed.
parent 3d911290
......@@ -565,7 +565,6 @@ EmbedHelper.prototype = {
if (LoginManagerContent.onContentLoaded) {
LoginManagerContent.onContentLoaded(aEvent);
}
this._handleDomContentLoaded(aEvent);
break;
}
case "DOMFormHasPassword": {
......@@ -601,16 +600,6 @@ EmbedHelper.prototype = {
return this.contentDocumentIsDisplayed;
},
_handleDomContentLoaded: function(aEvent) {
let window = aEvent.target.defaultView;
if (window) {
let winid = Services.embedlite.getIDByWindow(window);
try {
Services.embedlite.sendAsyncMessage(winid, "embed:domcontentloaded", JSON.stringify({ "rootFrame": window.parent === window }));
} catch (e) {}
}
},
_handleFullScreenChanged: function(aEvent) {
let window = aEvent.target.defaultView;
let winid = Services.embedlite.getIDByWindow(window);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment