WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
282265
[webkitpy][WTR] Allow passing all environment variables that start with specific prefixes like 'WEBKIT'
https://bugs.webkit.org/show_bug.cgi?id=282265
Summary
[webkitpy][WTR] Allow passing all environment variables that start with speci...
Carlos Alberto Lopez Perez
Reported
2024-10-29 12:15:12 PDT
On the webkitpy WTR runner we clean the user environment and we only allow to pass to WTR a closed list of environment variables. The issue is that we keep adding env vars with prefixes like WEBKIT_SOMETHING and is hard to keep track off all of them. So instead of listing all this variables, just allow to pass any that start with a specific prefix Examples of variables that are useful to pass and that we are not currently allowing: WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH WEBKIT_DISABLE_MEMORY_PRESSURE_MONITOR WEBKIT_A11Y_BUS_ADDRESS WEBKIT_CAIRO_PAINTING_THREADS WEBKIT_DISABLE_ASYNC_SCROLLING WEBKIT_DISABLE_COMPOSITING_MODE WEBKIT_DISABLE_DMABUF_RENDERER WEBKIT_DISABLE_MEMORY_ATTRIBUTION WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS WEBKIT_DMABUF_RENDERER_BUFFER_FORMAT WEBKIT_DMABUF_RENDERER_DISABLE_GBM WEBKIT_DMABUF_RENDERER_FORCE_SHM WEBKIT_EGL_PIXEL_LAYOUT WEBKIT_ENABLE_A11Y_DBUS_PROXY_LOGGING WEBKIT_ENABLE_DBUS_PROXY_LOGGING WEBKIT_ENABLE_DEBUG_PERMISSIONS_IN_SANDBOX WEBKIT_FORCE_COMPLEX_TEXT WEBKIT_FORCE_COMPOSITING_MODE WEBKIT_FORCE_SANDBOX WEBKIT_FORCE_VBLANK_TIMER WEBKIT_GST_CUSTOM_VIDEO_SINK WEBKIT_GST_DISABLE_FAST_MALLOC WEBKIT_GST_DMABUF_FORMATS WEBKIT_GST_ENABLE_AUDIO_MIXER WEBKIT_GST_ENABLE_DASH_SUPPORT WEBKIT_GST_ENABLE_HLS_SUPPORT WEBKIT_GST_ENABLE_LEGACY_VAAPI WEBKIT_GST_MAX_AVC1_RESOLUTION WEBKIT_INSPECTOR_HTTP_SERVER WEBKIT_INSPECTOR_RESOURCES_PATH WEBKIT_INSPECTOR_SERVER WEBKIT_LOG_INCOMING_MESSAGES WEBKIT_MESSAGE_TEST_DEFAULT_DRIVER WEBKIT_SAMPLE_MEMORY WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS WEBKIT_SHOW_FPS WEBKIT_SKIA_ENABLE_CPU_RENDERING WEBKIT_SKIA_MSAA_SAMPLE_COUNT WEBKIT_SKIA_PAINTING_THREADS WEBKIT_TLS_CAFILE_PEM WEBKIT_UNSET_DYLD_FRAMEWORK_PATH WEBKIT_USE_PORTAL WEBKIT_WEBGL_DISABLE_GBM WEBKIT_WEB_RENDER_DEVICE_FILE
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2024-10-29 12:28:10 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/35886
Radar WebKit Bug Importer
Comment 2
2024-11-05 11:16:15 PST
<
rdar://problem/139299872
>
EWS
Comment 3
2024-11-11 06:01:32 PST
Committed
286430@main
(3bae70608191): <
https://commits.webkit.org/286430@main
> Reviewed commits have been landed. Closing PR #35886 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug