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 5cfbcc2a29
commit 3554776016

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;
}