<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:beidson@apple.com" title="Brady Eidson <beidson@apple.com>"> <span class="fn">Brady Eidson</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to use IndexedDB on file:/// URLs"
href="https://bugs.webkit.org/show_bug.cgi?id=153783">bug 153783</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>beidson@apple.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to use IndexedDB on file:/// URLs"
href="https://bugs.webkit.org/show_bug.cgi?id=153783#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to use IndexedDB on file:/// URLs"
href="https://bugs.webkit.org/show_bug.cgi?id=153783">bug 153783</a>
from <span class="vcard"><a class="email" href="mailto:beidson@apple.com" title="Brady Eidson <beidson@apple.com>"> <span class="fn">Brady Eidson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=153783#c0">comment #0</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=270465" name="attach_270465" title="Test Case to be served from file:///">attachment 270465</a> <a href="attachment.cgi?id=270465&action=edit" title="Test Case to be served from file:///">[details]</a></span>
> Test Case to be served from file:///
>
> Calling indexedDB.open from a file:/// URL results in an InvalidAccessError
> being thrown. </span >
Yup, WebIDBFactoryBackend::open fails to make a database identifier for the file: opening origin and top origin.
This is because Safari ramps up the (don't)AllowFileAccessFromFileURLs restriction on file: url documents.
<span class="quote">> With the removal of WebSQL, this means that local applications
> served via file:/// URLs have no access to data storage beyond localStorage.</span >
WebSQL has most certainly not been removed... works great in my testing, both http and file URLs.
Why do you think WebSQL has been removed?</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>