<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [GTK] Expose AllowUniversalAccessFromFileURLs preference now that calling localStorage.getItem() results in SecurityError: DOM Exception 18"
   href="https://bugs.webkit.org/show_bug.cgi?id=156651#c37">Comment # 37</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [GTK] Expose AllowUniversalAccessFromFileURLs preference now that calling localStorage.getItem() results in SecurityError: DOM Exception 18"
   href="https://bugs.webkit.org/show_bug.cgi?id=156651">bug 156651</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156651#c36">comment #36</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=156651#c35">comment #35</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=156651#c34">comment #34</a>)
&gt; &gt; &gt; I don't understand, are you proposing that we permanently alter the
&gt; &gt; &gt; semantics of AllowFileAccessFromFileURLs for GTK only to allow access to
&gt; &gt; &gt; localStorage?
&gt; &gt; 
&gt; &gt; Not at all. I'm proposing that we assume that apps already setting
&gt; &gt; AllowFileAccessFromFileURLs are serving local file URIs and allow access to
&gt; &gt; local storage for them for backwards compatibility. We won't document, nor
&gt; &gt; encourage anybody to use that setting for that particular purpose.
&gt; 
&gt; So you proposing that we permanently alter AllowFileAccessFromFileURLs to
&gt; allow access to local storage, for all ports? (Brent?)</span >

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.

<span class="quote">&gt; What, then, would be the value in the AllowUniversalAccessFromFileURLs
&gt; setting?</span >

For trunk we should expose the universal access setting or shouldForceUniversalAccessFromLocalURL() or both.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>