mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 17:24:29 +00:00
Adjust comment from bug 790545's patch
This commit is contained in:
parent
8d4ff2fb70
commit
a41d9f7522
@ -202,13 +202,14 @@ SocialProvider.prototype = {
|
||||
workerAPI: null,
|
||||
|
||||
// Contains information related to the user's profile. Populated by the
|
||||
// workerAPI via updateUserProfile. Null if the provider has no FrameWorker.
|
||||
// workerAPI via updateUserProfile.
|
||||
// Properties:
|
||||
// iconURL, portrait, userName, displayName, profileURL
|
||||
// See https://github.com/mozilla/socialapi-dev/blob/develop/docs/socialAPI.md
|
||||
// A value of null or an empty object means 'user not logged in'.
|
||||
// A value of undefined means the service has not told us the status of the
|
||||
// profile, but is expected to soon (ie, the service is still loading/initing)
|
||||
// A value of undefined means the service has not yet told us the status of
|
||||
// the profile (ie, the service is still loading/initing, or the provider has
|
||||
// no FrameWorker)
|
||||
// This distinction might be used to cache certain data between runs - eg,
|
||||
// browser-social.js caches the notification icons so they can be displayed
|
||||
// quickly at startup without waiting for the provider to initialize -
|
||||
|
Loading…
x
Reference in New Issue
Block a user