Community
Participate
Working Groups
we have code right now that caches the user name (and I just added code to ensure the LoginDialog keeps it up to date). But do we really need this utility any more at all? We were using it to show the user name in places like breadcrumbs, etc. If we decide we aren't showing the user name in places like that anymore, we should remove the methods and the code that keeps the cache up to date. I'd like to see the outcome of bug 349531 before we toss this.
AFAIK it is not used anymore. User names are displayed by plug-ins. Gosia?
First of all I think since we support more than one user service at the time there shouldn't be such a method at all. I can see it is used now only if there's only one user service available, for more than one we wouldn't even know which user name to pass to it. But I can see that there are still some calls of util.getUserName in navigator. We should first finish discussion on Bug 359619, then go on with removing those util functions.
fixed (nav no longer uses these methods).