Hey Randy,

On Tue, Jan 31, 2023 at 10:51 PM Randy Lauen <randy.la...@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/CALgRrLnsfYVATgMn%2BUoMn3sTTU1q3T9z8sSQf8sVz-qrH-8EJQ%40mail.gmail.com.

Reply via email to