> Source/WebCore/platform/geoclue/GeolocationProviderGeoclue2.cpp:142
> + // Geoclue2 requires the client to provide a desktop ID for security
> + // reasons, which should identify the application requesting the location.
> + geoclue_client_set_desktop_id(provider->m_clientProxy.get(), g_get_prgname());
I still don't know whether using the program name is the right thing in the end or a workaround. If it's a workaround, please file a bug report and add a FIXME here pointing to the bug report. Because at the moment your comment is confusing here, it says geoclue requires a desktop ID, but we are providing an application name
Comment on attachment 226084
Patch proposal
View in context: https:/ /bugs.webkit. org/attachment. cgi?id= 226084& action= review
> Source/ WebCore/ platform/ geoclue/ GeolocationProv iderGeoclue. h:28 WTFString. h>
> +#include <wtf/text/
Please, read my previous review, or am I wrong and String is actually used by this header?
> Source/ WebCore/ platform/ geoclue/ GeolocationProv iderGeoclue. h:55 erProxyAndGetCl ient(GeoclueMan ager*); tProxyAndStart( GeoclueClient* );
> + void setGeoclueManag
> + void setGeoclueClien
Are these methods implemented somewhere?
> Source/ WebCore/ platform/ geoclue/ GeolocationProv iderGeoclue2. cpp:142 client_ set_desktop_ id(provider- >m_clientProxy. get(), g_get_prgname());
> + // Geoclue2 requires the client to provide a desktop ID for security
> + // reasons, which should identify the application requesting the location.
> + geoclue_
I still don't know whether using the program name is the right thing in the end or a workaround. If it's a workaround, please file a bug report and add a FIXME here pointing to the bug report. Because at the moment your comment is confusing here, it says geoclue requires a desktop ID, but we are providing an application name