Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c3c75352f0eef0734daa4946af7a5b60ce045ccd
      
https://github.com/WebKit/WebKit/commit/c3c75352f0eef0734daa4946af7a5b60ce045ccd
  Author: Michael Catanzaro <mcatanz...@redhat.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M Source/WebKit/Platform/IPC/IPCUtilities.h
    M Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp
    M Source/WebKit/Shared/unix/AuxiliaryProcessMain.cpp
    M Source/WebKit/UIProcess/Launcher/glib/FlatpakLauncher.cpp
    M Source/WebKit/UIProcess/Launcher/glib/FlatpakLauncher.h
    M Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp

  Log Message:
  -----------
  [WPE][GTK] Web process cache suspend/resume does not work, 
WebProcessProxy::processIdentifier is not the pid of the actual web process
https://bugs.webkit.org/show_bug.cgi?id=262794

Reviewed by Carlos Garcia Campos.

We'll use Unix credentials to send the actual pid of the child process
to the parent process.

This could be done using the WebKit IPC connection, but the code is
much simpler if we create a separate socket for this.

* Source/WebKit/Platform/IPC/IPCUtilities.h:
* Source/WebKit/Platform/IPC/unix/ConnectionUnix.cpp:
(IPC::createPlatformConnection):
(IPC::sendPIDToPeer):
(IPC::readPIDFromPeer):
* Source/WebKit/Shared/unix/AuxiliaryProcessMain.cpp:
(WebKit::AuxiliaryProcessMainCommon::parseCommandLine):
* Source/WebKit/UIProcess/Launcher/glib/FlatpakLauncher.cpp:
(WebKit::flatpakSpawn):
* Source/WebKit/UIProcess/Launcher/glib/FlatpakLauncher.h:
* Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:
(WebKit::ProcessLauncher::launchProcess):

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



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

Reply via email to