[Initiatives.wiki] Create Sandbox all the WebKit!



commit 849424ebc5ac0a8d2b9c98b28d8a23d6b2af7327
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Jun 16 20:23:06 2020 +0000

    Create Sandbox all the WebKit!

 Sandbox-all-the-WebKit!.md | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/Sandbox-all-the-WebKit!.md b/Sandbox-all-the-WebKit!.md
new file mode 100644
index 0000000..c2eae6e
--- /dev/null
+++ b/Sandbox-all-the-WebKit!.md
@@ -0,0 +1,5 @@
+ * Adjust your meson.build to depend on WebKitGTK 2.26.0.
+ * If your application creates its own `WebKitWebContext`, call `webkit_web_context_set_sandbox_enabled()` 
on it.
+ * If your application does not create its own `WebKitWebContext`, then it uses the default web context. Use 
`webkit_web_context_get_default()` and call `webkit_web_context_set_sandbox_enabled()` on it.
+ * Perform a basic functionality test to sanity-check that the sandbox has not broken major app 
functionality. The vast majority of applications should not notice any issues. Applications that attempt to 
access file:/// URIs from a web process extension will break.
+ * [Example](https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/87/diffs)
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]