Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[GTK][WPE] Stop using the env var WEBKIT_INSPECTOR_SERVER to connect …
…to the inspector https://bugs.webkit.org/show_bug.cgi?id=237646 Reviewed by Adrian Perez de Castro. Source/JavaScriptCore: Add RemoteInspector::s_inspectorServerAddress to keep the remote inspector server address instead of the environment variable used to start the server. * inspector/remote/RemoteInspector.h: * inspector/remote/glib/RemoteInspectorGlib.cpp: (Inspector::RemoteInspector::RemoteInspector): Only call start if s_inspectorServerAddress is not null. (Inspector::RemoteInspector::start): Use s_inspectorServerAddress instead of querying the environment. Source/WebKit: Use it only in the UI process to start the server, but propagate the address to web process using creation parameters. * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode const): Encode inspectorServerAddress. (WebKit::WebProcessCreationParameters::decode): Decode inspectorServerAddress. * Shared/WebProcessCreationParameters.h: Add inspectorServerAddress. * UIProcess/API/glib/WebKitInitialize.cpp: (WebKit::initializeRemoteInspectorServer): Set RemoteInspector::s_inspectorServerAddress if the server started successfully. * UIProcess/glib/WebProcessPoolGLib.cpp: (WebKit::WebProcessPool::platformInitializeWebProcess): Set inspectorServerAddress parameter from RemoteInspector::s_inspectorServerAddress value. * WebProcess/glib/WebProcessGLib.cpp: (WebKit::WebProcess::platformInitializeWebProcess): Set RemoteInspector::s_inspectorServerAddress from creation parameter value. Canonical link: https://commits.webkit.org/248212@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
ea7bd5c
commit 1693bf85775b25ee0e39d44b721b96691f2dca2d
Showing
9 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -255,6 +255,7 @@ struct WebProcessCreationParameters { | ||
#if USE(GLIB) | ||
String applicationID; | ||
String applicationName; | ||
CString inspectorServerAddress; | ||
#endif | ||
|
||
#if USE(ATSPI) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters