Commit 27acd33f authored by chriadam's avatar chriadam

[embedlite-components] Fix "permissions" typo. Contributes to JB#38028

parent 355012b4
......@@ -60,7 +60,7 @@ ContentPermissionPrompt.prototype = {
let types = request.types.QueryInterface(Ci.nsIArray);
let perm = types.queryElementAt(0, Ci.nsIContentPermissionType);
Services.embedlite.removeMessageListener("embedui:premissions", this);
Services.embedlite.removeMessageListener("embedui:permissions", this);
let entityName = kEntities[perm.type];
if (ret.allow) {
// If the user checked "Don't ask again", make a permanent exception
......@@ -111,7 +111,7 @@ ContentPermissionPrompt.prototype = {
let entityName = kEntities[perm.type];
Services.embedlite.addMessageListener("embedui:premissions", this);
Services.embedlite.addMessageListener("embedui:permissions", this);
var winid = Services.embedlite.getIDByWindow(request.window);
Services.embedlite.sendAsyncMessage(winid, "embed:permissions",
JSON.stringify({title: entityName,
......
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