[Webkit-unassigned] [Bug 227343] [GTK] MiniBrowser: add an option to enable the web process sandbox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 24 08:46:28 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227343
Michael Catanzaro <mcatanzaro at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at gnome.org
Attachment #432143|review?, commit-queue- |review+
Flags| |
--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Comment on attachment 432143
--> https://bugs.webkit.org/attachment.cgi?id=432143
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=432143&action=review
> Tools/MiniBrowser/gtk/main.c:149
> + { "enable-sandbox", 0, 0, G_OPTION_ARG_NONE, &enableSandbox, "Enable web process sandbox support", NULL },
Ideally it would be on by default, to have the best chance of avoiding mistakes like developing new features that are incompatible with the sandbox (it has happened recently). I guess the sandbox will probably break layout tests if we're not careful, though. And I know you want to avoid waiting for D-Bus registration when running layout tests.
So I would flip it to disable-sandbox, if possible.
> Tools/MiniBrowser/gtk/main.c:682
> + if (!webkit_website_data_manager_is_ephemeral(manager)) {
> + webkit_web_context_add_path_to_sandbox(webContext, webkit_website_data_manager_get_base_data_directory(manager), TRUE);
> + webkit_web_context_add_path_to_sandbox(webContext, webkit_website_data_manager_get_base_cache_directory(manager), TRUE);
> + }
Um, I thought this was supposed to be done automatically, but I can't find any code for it, so I guess it has to be manual. :/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210624/46942cc0/attachment-0001.htm>
More information about the webkit-unassigned
mailing list