1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 09:37:58 +01:00

Don't hide errors on bad URLs, they're useful feedback

This commit is contained in:
Kris Maglione
2008-12-18 21:41:56 -05:00
parent b18b1634fc
commit f2f8cdbea3

View File

@@ -1090,11 +1090,7 @@ const liberator = (function () //{{{
switch (where)
{
case liberator.CURRENT_TAB:
try
{
getBrowser().loadURIWithFlags(url, Ci.nsIWebNavigation.LOAD_FLAGS_NONE, null, null, postdata);
}
catch (e) {}
break;
case liberator.NEW_BACKGROUND_TAB:
@@ -1111,11 +1107,7 @@ const liberator = (function () //{{{
const wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
window.open();
whichwindow = wm.getMostRecentWindow("navigator:browser");
try
{
whichwindow.loadURI(url, null, postdata);
}
catch (e) {}
break;
default: