Changeset 279367 in webkit
- Timestamp:
- Jun 29, 2021, 12:59:59 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Launcher/glib/BubblewrapLauncher.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r279366 r279367 1 2021-06-29 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK][WPE] Bubblewrap: allow to set DBus proxy logging per proxy 4 https://bugs.webkit.org/show_bug.cgi?id=227447 5 6 Reviewed by Michael Catanzaro. 7 8 It's currently global using env var WEBKIT_ENABLE_DBUS_PROXY_LOGGING. Add WEBKIT_ENABLE_A11Y_DBUS_PROXY_LOGGING 9 to enable logging only on a11y bus. 10 11 * UIProcess/Launcher/glib/BubblewrapLauncher.cpp: 12 (WebKit::XDGDBusProxyLauncher::launch): 13 (WebKit::bindA11y): 14 (WebKit::bubblewrapSpawn): 15 1 16 2021-06-29 Youenn Fablet <youenn@apple.com> 2 17 -
trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
r279215 r279367 183 183 }; 184 184 185 void launch( )185 void launch(bool enableLogging) 186 186 { 187 187 RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(!isRunning()); … … 203 203 }; 204 204 205 if ( !g_strcmp0(g_getenv("WEBKIT_ENABLE_DBUS_PROXY_LOGGING"), "1"))205 if (enableLogging) 206 206 proxyArgs.append("--log"); 207 207 … … 505 505 }); 506 506 507 proxy.launch( );507 proxy.launch(!g_strcmp0(g_getenv("WEBKIT_ENABLE_A11Y_DBUS_PROXY_LOGGING"), "1")); 508 508 } 509 509 … … 891 891 } 892 892 proxy.setPermissions(WTFMove(permissions)); 893 proxy.launch( );893 proxy.launch(!g_strcmp0(g_getenv("WEBKIT_ENABLE_DBUS_PROXY_LOGGING"), "1")); 894 894 } 895 895 } else {
Note:
See TracChangeset
for help on using the changeset viewer.