[Webkit-unassigned] [Bug 156651] [GTK] Expose AllowUniversalAccessFromFileURLs preference now that calling localStorage.getItem() results in SecurityError: DOM Exception 18

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 20 08:33:47 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156651

--- Comment #37 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #36)
> (In reply to comment #35)
> > (In reply to comment #34)
> > > I don't understand, are you proposing that we permanently alter the
> > > semantics of AllowFileAccessFromFileURLs for GTK only to allow access to
> > > localStorage?
> > 
> > Not at all. I'm proposing that we assume that apps already setting
> > AllowFileAccessFromFileURLs are serving local file URIs and allow access to
> > local storage for them for backwards compatibility. We won't document, nor
> > encourage anybody to use that setting for that particular purpose.
> 
> So you proposing that we permanently alter AllowFileAccessFromFileURLs to
> allow access to local storage, for all ports? (Brent?)

No, I haven't said that. I'm proposing that we allow access to local storage for apps already setting AllowFileAccessFromFileURLs in 2.12 branch only. Tha doesn't affect trunk nor any other port. Only for backwards compatibility, because that was the case already in 2.12.0.

> What, then, would be the value in the AllowUniversalAccessFromFileURLs
> setting?

For trunk we should expose the universal access setting or shouldForceUniversalAccessFromLocalURL() or both.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160420/782a2f42/attachment.html>


More information about the webkit-unassigned mailing list