зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1037128 - Regression: Contact API usage is being prompt on webpages r=fabrice
This commit is contained in:
Родитель
8621282d2e
Коммит
0ba05d0f33
|
@ -250,8 +250,10 @@ ContactManager.prototype = {
|
|||
if (permValue == Ci.nsIPermissionManager.ALLOW_ACTION) {
|
||||
aAllowCallback();
|
||||
return;
|
||||
} else if (permValue == Ci.nsIPermissionManager.DENY_ACTION) {
|
||||
aCancelCallback();
|
||||
} else if (permValue == Ci.nsIPermissionManager.DENY_ACTION ||
|
||||
permValue == Ci.nsIPermissionManager.UNKNOWN_ACTION) {
|
||||
aCancelCallback();
|
||||
return;
|
||||
}
|
||||
|
||||
// Create an array with a single nsIContentPermissionType element.
|
||||
|
|
Загрузка…
Ссылка в новой задаче