Version 14 (modified by 8 years ago) ( diff ) | ,
---|
WebKit Environment variables
This page documents some environment variables that you can use to change the behaviour of WebKit.
This documentation may be outdated or incomplete. If you wish, you can grep the sourcecode for getenv strings and update this document.
List of WebKit environment variables
- Use the following environment variables as:
export Variable="Value" $WebKitCommand
Variable | Value | Meaning | WebKit ports |
---|---|---|---|
JavaScriptCoreUseJIT | 0 | Disable the JavaScript JIT | ALL |
JSC_useFTLJIT | 0 | Disable the JavaScript FTL JIT | ALL |
JSC_dumpOptions | 3 | Dumps all the JSC options available to tweak | ALL |
JSC_${option from previous command} | ${value} | ${check with JSC_dumpOptions=3} | ALL |
Malloc | 1 | Disable bmalloc memory allocator and use the system default one instead | ALL |
USE_NATIVE_XDISPLAY | 1 | Run the WebKit layout or performance tests on the current X server instead inside Xvfb | GTK+/EFL |
WEBKITGTK_EXPERIMENTAL_FEATURES | REGION_BASED_COLUMNS=1 | Enable region based columns (implement multicol using the CSS regions implementation rather than ColumnInfo & co) | GTK+ |
WEBKIT_FORCE_COMPOSITING_MODE | Anything | Force Accelerated Compositing mode to be always on | WebKitGTK+ (since 2.10.5) |
WEBKIT_DISABLE_COMPOSITING_MODE | Anything | Force Accelerated Compositing mode to be always off | WebKitGTK+ (since 2.10.9) |
WEBKIT_INSPECTOR_SERVER | ${ip.ad.dre.ss}:${port} | Enables the Remote WebInspector at http://${ip.ad.dre.ss}:${port} (NOTE: Use the same version of WebKit to load the address) | GTK+/EFL |
WEBKIT_SHOW_FPS | 1 | Shows a small square with the FPS measured at the top-right corner of the web view | GTK+ (if built with -DENABLE_THREADED_COMPOSITOR=ON)/EFL |
WEBKIT_SAMPLE_MEMORY | 1 | Generates in /tmp some text files with memory stats | GTK+ (since 2.15.2) |
SAMPLE_MEMORY | 1 | Generates in /tmp some text files with memory stats | EFL |
Note:
See TracWiki
for help on using the wiki.