зеркало из https://github.com/mozilla/gecko-dev.git
Bug 866632 - |cookie list| on about page shows 'no cookies found for host', should use 'No cookies found for this page'; r=harth
This commit is contained in:
Родитель
41b9b716b1
Коммит
398bc8f36b
|
@ -977,7 +977,7 @@ XPCOMUtils.defineLazyModuleGetter(this, "AppCacheUtils",
|
|||
returnType: "cookies",
|
||||
exec: function Command_cookieList(args, context) {
|
||||
let host = context.environment.document.location.host;
|
||||
if (host == null) {
|
||||
if (host == null || host == "") {
|
||||
throw new Error(gcli.lookup("cookieListOutNonePage"));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче