mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 729363 - Don't dump to console when shell service unavailable. r=gavin
This commit is contained in:
parent
5cfbcc2a29
commit
3554776016
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user