Bug 729363 - Don't dump to console when shell service unavailable. r=gavin

This commit is contained in:
Dan Witte 2012-02-22 14:06:55 +01:00
parent 4dafee9c7c
commit 8a0abc1705

View File

@ -403,7 +403,8 @@ function getShellService()
try {
shell = Components.classes["@mozilla.org/browser/shell-service;1"]
.getService(Components.interfaces.nsIShellService);
} catch (e) {dump("*** e = " + e + "\n");}
} catch (e) {
}
return shell;
}