Title: [246305] trunk/Source/WebKit
Revision
246305
Author
[email protected]
Date
2019-06-11 01:01:39 -0700 (Tue, 11 Jun 2019)

Log Message

[WPE][GTK] bubblewrap sandbox should grant access to web extensions directory
https://bugs.webkit.org/show_bug.cgi?id=198734

Reviewed by Carlos Garcia Campos.

* UIProcess/API/glib/WebKitWebContext.cpp:
(webkit_web_context_set_web_extensions_directory):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (246304 => 246305)


--- trunk/Source/WebKit/ChangeLog	2019-06-11 07:43:06 UTC (rev 246304)
+++ trunk/Source/WebKit/ChangeLog	2019-06-11 08:01:39 UTC (rev 246305)
@@ -1,3 +1,13 @@
+2019-06-11  Michael Catanzaro  <[email protected]>
+
+        [WPE][GTK] bubblewrap sandbox should grant access to web extensions directory
+        https://bugs.webkit.org/show_bug.cgi?id=198734
+
+        Reviewed by Carlos Garcia Campos.
+
+        * UIProcess/API/glib/WebKitWebContext.cpp:
+        (webkit_web_context_set_web_extensions_directory):
+
 2019-06-10  Andy Estes  <[email protected]>
 
         [iOS] Use PDFKit SPI for taking snapshots when the hosting app is not entitled for global capture

Modified: trunk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp (246304 => 246305)


--- trunk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp	2019-06-11 07:43:06 UTC (rev 246304)
+++ trunk/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp	2019-06-11 08:01:39 UTC (rev 246305)
@@ -1405,6 +1405,7 @@
     g_return_if_fail(directory);
 
     context->priv->webExtensionsDirectory = directory;
+    context->priv->processPool->addSandboxPath(directory, SandboxPermission::ReadOnly);
 }
 
 /**
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to