зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1713578 - Removed leftover PermissionStateChange events. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D118850
This commit is contained in:
Родитель
56b9a33c06
Коммит
80b7bda1cd
|
@ -528,12 +528,6 @@ function prompt(aActor, aBrowser, aRequest) {
|
|||
}
|
||||
}
|
||||
|
||||
// Tell the browser to refresh the identity block display in case there
|
||||
// are expired permission states.
|
||||
aBrowser.dispatchEvent(
|
||||
new aBrowser.ownerGlobal.CustomEvent("PermissionStateChange")
|
||||
);
|
||||
|
||||
let chromeDoc = aBrowser.ownerDocument;
|
||||
let stringBundle = chromeDoc.defaultView.gNavigatorBundle;
|
||||
let localization = new Localization(
|
||||
|
|
|
@ -401,12 +401,6 @@ var PermissionPromptPrototype = {
|
|||
this.allow();
|
||||
return;
|
||||
}
|
||||
|
||||
// Tell the browser to refresh the identity block display in case there
|
||||
// are expired permission states.
|
||||
this.browser.dispatchEvent(
|
||||
new this.browser.ownerGlobal.CustomEvent("PermissionStateChange")
|
||||
);
|
||||
} else if (this.permissionKey) {
|
||||
// If we're reading a permission which already has a temporary value,
|
||||
// see if we can use the temporary value.
|
||||
|
|
Загрузка…
Ссылка в новой задаче