I'd rather websql wasn't removed. I use it for a few non-web applications 
making it possible to have a one click app with a database without too much 
hassle. Having to roll your own with web assembly sounds like it wouldn't 
be worth the trouble.

On Thursday, May 26, 2022 at 8:18:38 PM UTC-4 ay...@chromium.org wrote:

>
> *Contact emails*ay...@chromium.org, jsb...@chromium.org, 
> ajayra...@google.com  
>
>
> *Specification*https://www.w3.org/TR/webdatabase/
>
>
> *Summary*We intend to deprecate and remove usage of WebSQL in non-secure 
> contexts. Deprecation is targeted for M105 and removal is targeted for M107.
>
>
> *Blink component*Blink>Storage>WebSQL 
> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EStorage%3EWebSQL>
>
>
> *Motivation*The Web SQL Database standard was first proposed in April 
> 2009 and abandoned in November 2010. Gecko never implemented this feature 
> and WebKit deprecated this feature in 2019 
> <https://github.com/WebKit/WebKit/commit/761bce943c0696a6bb93116eb0576ed07dbfdc65>.
>  
> The W3C encouraged those needing web databases to adopt Web Storage 
> <https://www.w3.org/TR/webstorage/> or Indexed Database 
> <https://www.w3.org/TR/IndexedDB/>.
>
> WebSQL has been deprecated and removed 
> <https://groups.google.com/a/chromium.org/g/blink-dev/c/TM6YDx1Hh08> for 
> third-party contexts in M97.
>
> We hope to entirely deprecate and remove WebSQL at some future point when 
> usage is low enough.
>
>
> *TAG review*N/A
>
> Risks
> Based on usage measurements 
> <https://chromestatus.com/metrics/feature/timeline/popularity/4073> 
> rolled out in M97, 0.005% of page loads use WebSQL in a non-secure 
> context.  Less than 0.01% of top sites have adopted this feature.
>
> Out of the 20 top sites listed for the month of April 2022, 11 of the 
> sites use a feature detection library Modernizr 1.5 
> <https://modernizr.com/news/modernizr-15>, on a version released in 2010. 
> This would create a test database to check feature availability. I was 
> unable to reproduce the creation of other WebSQL databases outside of the 
> one created by Modernizr on these sites. 4 sites that seem to use an outdated 
> private mode detection script <https://stackoverflow.com/q/48169810> 
> which was intended for older versions of iOS. All the scripts I have found 
> checked if window.openDatabase existed before usage, likely due to the lack 
> of support in Gecko and WebKit. 
>
> Interoperability and Compatibility
>
> Gecko: Never implemented
>
> WebKit: Deprecation shipped in iOS 13 and Safari 13 
> <https://trac.webkit.org/changeset/277564/webkit>  
>
> Web developers: No signals
>
>
> *Debuggability*N/A
>
> Is this feature fully tested by web-platform-tests 
> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
> ?
> Not fully, one test 
> <https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/clear-site-data/support/test_utils.sub.js;l=136>
>  
> checks the availability of the feature.
>
>
> *Tracking bug*https://crbug.com/1212492
>
> Link to related intents
> Intent to Deprecate and Remove: WebSQL in third-party contexts 
> <https://groups.google.com/a/chromium.org/g/blink-dev/c/TM6YDx1Hh08>
>
>
> *Link to entry on the Chrome Platform Status*
> https://chromestatus.com/feature/5175124599767040
>
>
>

-- 
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/7f5ce439-914f-4aa0-8a2a-776a08addd1dn%40chromium.org.

Reply via email to