Details of SFExtensionProfileKey?

Hi,

I’m working with the SFExtensionProfileKey in my Safari Web Extension. As I understand it, this key is to get the UUID of the profile currently in use. However, it seems to be missing (no key in userInfo) when the default profile is active. Also, I haven’t found any API to get a profile’s human-readable name or list all available profiles.

Could someone clarify:

  1. If the value of SFExtensionProfileKey is absent, can I safely assume the default profile is in use?
  2. Is there a supported way to get a profile’s display name?
  3. Does Safari expose an API for getting all profiles?

Thanks in advance for your insights!

Details of SFExtensionProfileKey?
 
 
Q