Changeset 249421 in webkit


Ignore:
Timestamp:
Sep 3, 2019 3:33:25 AM (5 years ago)
Author:
Carlos Garcia Campos
Message:

Unreviewed. Add an env var to force single process model

WEBKIT_USE_SINGLE_WEB_PROCESS=1 can now be used to force the single process model. This is a temporary solution
for applications still depending on the single process mode behavior. It will be only available in 2.26 series.

  • UIProcess/API/glib/WebKitWebContext.cpp:

(webkitWebContextConstructed):

Location:
releases/WebKitGTK/webkit-2.26/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.26/Source/WebKit/ChangeLog

    r249420 r249421  
     12019-09-03  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        Unreviewed. Add an env var to force single process model
     4
     5        WEBKIT_USE_SINGLE_WEB_PROCESS=1 can now be used to force the single process model. This is a temporary solution
     6        for applications still depending on the single process mode behavior. It will be only available in 2.26 series.
     7
     8        * UIProcess/API/glib/WebKitWebContext.cpp:
     9        (webkitWebContextConstructed):
     10
    1112019-09-03  Carlos Garcia Campos  <cgarcia@igalia.com>
    212
  • releases/WebKitGTK/webkit-2.26/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp

    r249420 r249421  
    348348        configuration.setLocalStorageDirectory(FileSystem::stringFromFileSystemRepresentation(priv->localStorageDirectory.data()));
    349349
     350    const char* useSingleWebProcess = getenv("WEBKIT_USE_SINGLE_WEB_PROCESS");
     351    if (useSingleWebProcess && strcmp(useSingleWebProcess, "0"))
     352        configuration.setUsesSingleWebProcess(true);
    350353    priv->processPool = WebProcessPool::create(configuration);
    351354
Note: See TracChangeset for help on using the changeset viewer.