*Carl*, the signs are promising for other browsers to implement all the
APIs needed to run SQLite-over-Wasm. I'm optimistic!

*Randy*, how hard would it be to implement something that read user data
from Web SQL and wrote it into a parallel table structure in SQLite? Both
of these will coexist in Chromium for some time.

Let us know how this goes, if you could. I'd also like to be aware of other
extensions out there that might be using Web SQL and could have missed our
announcements....


On Thu, Feb 2, 2023 at 6:13 PM Carl Turechek <carlturec...@gmail.com> wrote:

> One more question is whether that will work on all browsers.. that could
> at least be considered as an improvement. Also, I'm subbed to this convo
> and haven't seen any notifications anywhere... Is it supposed to email me?
>
> On Wednesday, February 1, 2023 at 6:50:35 AM UTC-5 tste...@google.com
> wrote:
>
>> Hey Randy,
>>
>> On Tue, Jan 31, 2023 at 10:51 PM Randy Lauen <randy...@gmail.com> wrote:
>>
>>> Speaking of nontrivial examples, I have a Chrome extension that relies
>>> heavily on WebSQL. On my desktop, the WebSQL database for my extension is
>>> almost 400 MB. I know some users have a database over 1 GB. I'm very
>>> excited about using Wasm SQLite, since I can (hopefully) configure SQLite
>>> the way I want, instead of being stuck with the configuration used by
>>> Chrome.
>>
>>
>> Very exciting. Do you mind sharing the name of the extension?
>>
>>
>>> What I'm not looking forward to, though, is the transition. Do you have
>>> any advice on migrating data from WebSQL to Wasm SQLite? My best guess so
>>> far is to have users use my extension's import/export mechanism to export
>>> all of their WebSQL data to a file and then import it back into Wasm SQLite.
>>>
>>
>> Asking users to manually export their database file from Web SQL via your
>> extension's export feature and then importing to SQLite is probably the
>> easiest way, yes.
>>
>>
>>> Also, with WebSQL, I can locate the SQLite database on disk within
>>> Chrome's profile directory. Will that be possible with Wasm SQLite/OPFS?
>>>
>>
>> As a developer, you can use the OPFS Explorer extension (
>> https://chrome.google.com/webstore/detail/opfs-explorer/acndjpgkpaclldomagafnognkcgjignd)
>> to do so.
>>
>>
>>> Finally, between manifest v3 and WebSQL deprecation, my extension will
>>> need a lot of changes this year. If it's possible to stagger the deadlines
>>> for those, so I don't have to tackle both at the same time, then that gets
>>> my vote!
>>>
>>
>> The manifest v3 deadline is unrelated to this deprecation deadline. You
>> can express your concerns about the extensions deadline on their forum:
>> https://groups.google.com/a/chromium.org/g/chromium-extensions.
>>
>> Cheers,
>> Tom
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6%2Bj4tCitkONY%3DhR51WVz%3DSHXECY3B2KP3UWZpbO6dBFZ0P8Q%40mail.gmail.com.

Reply via email to