Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 696c432e7e05d6da4c0661ef7d891b6fd7007ef2
      
https://github.com/WebKit/WebKit/commit/696c432e7e05d6da4c0661ef7d891b6fd7007ef2
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformGTK.cmake
    M Source/WTF/wtf/PlatformWPE.cmake
    A Source/WTF/wtf/glib/Application.cpp
    A Source/WTF/wtf/glib/Application.h
    M Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
    M Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp
    M Source/WebKit/UIProcess/Notifications/glib/NotificationService.cpp
    M Source/WebKit/UIProcess/geoclue/GeoclueGeolocationProvider.cpp
    M Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp

  Log Message:
  -----------
  [GTK][WPE] Application ID is not used consistently
https://bugs.webkit.org/show_bug.cgi?id=275946

Reviewed by Michael Catanzaro.

We currently need the application ID from the bubblewrap sandbox,
notifications, geolocation provider, and it's sent to the web process
too. We are doing different things in all of those places. Add
WTF::applicationID() and use it everywhere to ensure we always get the
same value.

* Source/WTF/wtf/PlatformGTK.cmake:
* Source/WTF/wtf/PlatformWPE.cmake:
* Source/WTF/wtf/glib/Application.cpp: Added.
(WTF::applicationID):
* Source/WTF/wtf/glib/Application.h: Added.
* Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
(WebKit::createFlatpakInfo):
(WebKit::effectiveApplicationId): Deleted.
* Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp:
(WebKit::XDGDBusProxy::dbusSessionProxy):
* Source/WebKit/UIProcess/Notifications/glib/NotificationService.cpp:
(WebKit::applicationIcon):
(WebKit::NotificationService::showNotification):
* Source/WebKit/UIProcess/geoclue/GeoclueGeolocationProvider.cpp:
(WebKit::GeoclueGeolocationProvider::setupGeoclueClient):
* Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::platformInitializeWebProcess):

Canonical link: https://commits.webkit.org/280444@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to