[Webkit-unassigned] [Bug 193571] [GTK][WPE] Add API to add paths to sandbox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 22 05:19:02 PST 2019


--- Comment #11 from Patrick Griffis <pgriffis at igalia.com> ---
(In reply to Michael Catanzaro from comment #10)
> (In reply to Patrick Griffis from comment #9)
> > > Maybe we should attempt a g_mkdir_with_parents(), so we don't have to worry
> > > about this if the directory is writable? Bad idea?
> > >
> > > We could add a flags parameter to control the behavior?
> > 
> > Well its blocking IO...
> Before the web context is initialized, though. This is basically the only
> time it's OK! I just wonder whether applications will be more annoyed that
> we create directories for them, or more annoyed when they break because the
> directory just happens to not exist early enough.

I hate blocking IO as much as you hate bool args :P. I think its never OK and we can't control when an application uses this and if its not during the initial window creation it will be noticeable and awful. If its acceptable to block they can do it themselves.

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/20190122/4df63b8a/attachment.html>

More information about the webkit-unassigned mailing list