⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243708 in webkit


Ignore:
Timestamp:
Apr 1, 2019, 12:51:09 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK][WPE] Add more websitedatastore directories to web process sandbox
https://bugs.webkit.org/show_bug.cgi?id=196447

Patch by Patrick Griffis <Patrick Griffis> on 2019-04-01
Reviewed by Michael Catanzaro.

  • UIProcess/Launcher/glib/BubblewrapLauncher.cpp:

(WebKit::bubblewrapSpawn):

  • UIProcess/glib/WebProcessProxyGLib.cpp:

(WebKit::WebProcessProxy::platformGetLaunchOptions):

Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r243699 r243708  
     12019-04-01  Patrick Griffis  <pgriffis@igalia.com>
     2
     3        [GTK][WPE] Add more websitedatastore directories to web process sandbox
     4        https://bugs.webkit.org/show_bug.cgi?id=196447
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        * UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
     9        (WebKit::bubblewrapSpawn):
     10        * UIProcess/glib/WebProcessProxyGLib.cpp:
     11        (WebKit::WebProcessProxy::platformGetLaunchOptions):
     12
    1132019-04-01  Per Arne Vollan  <pvollan@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp

    r243692 r243708  
    766766        }
    767767
    768         Vector<String> extraPaths = { "applicationCacheDirectory", "waylandSocket"};
     768        Vector<String> extraPaths = { "applicationCacheDirectory", "mediaKeysDirectory", "waylandSocket", "webSQLDatabaseDirectory" };
    769769        for (const auto& path : extraPaths) {
    770770            String extraPath = launchOptions.extraInitializationData.get(path);
  • trunk/Source/WebKit/UIProcess/glib/WebProcessProxyGLib.cpp

    r240473 r243708  
    4343
    4444    websiteDataStore().resolveDirectoriesIfNecessary();
     45    launchOptions.extraInitializationData.set("webSQLDatabaseDirectory", websiteDataStore().resolvedDatabaseDirectory());
     46    launchOptions.extraInitializationData.set("mediaKeysDirectory", websiteDataStore().resolvedMediaKeysDirectory());
    4547    launchOptions.extraInitializationData.set("applicationCacheDirectory", websiteDataStore().resolvedApplicationCacheDirectory());
    4648
Note: See TracChangeset for help on using the changeset viewer.