<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - WkWebview: calling localStorage.getItem() results in Uncaught Exception: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent."
   href="https://bugs.webkit.org/show_bug.cgi?id=156651#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - WkWebview: calling localStorage.getItem() results in Uncaught Exception: SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent."
   href="https://bugs.webkit.org/show_bug.cgi?id=156651">bug 156651</a>
              from <span class="vcard"><a class="email" href="mailto:bfulgham&#64;webkit.org" title="Brent Fulgham &lt;bfulgham&#64;webkit.org&gt;"> <span class="fn">Brent Fulgham</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156651#c8">comment #8</a>)
<span class="quote">&gt; 
&gt; So, you might be able to do something with the frame loader client's
&gt; &quot;shouldForceUniversalAccessFromLocalURL&quot;.
&gt; 
&gt; You might be able to use
&gt; WKBundlePageShouldForceUniversalAccessFromLocalURLCallback to set a function
&gt; that either always says &quot;Yes, go ahead and use it&quot;, or check for specific
&gt; URLs that you approve of.</span >

Also:

WKBundleSetAllowUniversalAccessFromFileURLs might be all you need. This is a WKWebViewConfigurationPrivate.h method.</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>