1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:22:26 +01:00

normalise catch block parameter names

This commit is contained in:
Doug Kearns
2007-11-30 09:10:51 +00:00
parent a32a13755c
commit 48884809a2
3 changed files with 9 additions and 6 deletions

View File

@@ -180,7 +180,10 @@ vimperator.Bookmarks = function () //{{{
var count = {};
bookmarksService.getBookmarkIdsForURI(uri, count);
}
catch (e) { return false; }
catch (e)
{
return false;
}
return count.value > 0;
},

View File

@@ -563,7 +563,7 @@ vimperator.Buffer = function () //{{{
urlSecurityCheck(data.href, principal,
Components.interfaces.nsIScriptSecurityManager.DISALLOW_INHERIT_PRINCIPAL);
}
catch (ex)
catch (e)
{
isFeed = false;
}
@@ -611,13 +611,13 @@ vimperator.Buffer = function () //{{{
{
var cacheEntryDescriptor = httpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);
}
catch (ex)
catch (e)
{
try
{
cacheEntryDescriptor = ftpCacheSession.openCacheEntry(cacheKey, ACCESS_READ, false);
}
catch (ex2) { }
catch (e) { }
}
var pageSize = []; // [0] bytes; [1] kbytes

View File

@@ -696,9 +696,9 @@ vimperator.Commands = function () //{{{
default: vimperator.echoerr("Dialog '" + args + "' not available");
}
}
catch (err)
catch (e)
{
vimperator.echoerr("Error opening '" + args + "': " + err);
vimperator.echoerr("Error opening '" + args + "': " + e);
}
},
{