News for hackers. Stuff that matters.
Re:IndexedDB is completely broken in latest Safari by boredprograming on Tuesday June 15, 2021 @02:13AM (#27511891)
Ehhhhh I'll give them a pass on this. Almost nobody is using it because browser support was never that great and it's being deprecated.

We should focus on reducing browser feature creep. There's hundreds of features and most of them are barely used or legacy

Re:IndexedDB is completely broken in latest Safari by feross on Tuesday June 15, 2021 @02:15AM (#27511900)
Uhh, IndexedDB is not deprecated and every browser supports it: https://caniuse.com/?search=indexeddb
Re:IndexedDB is completely broken in latest Safari by SilverRed on Tuesday June 15, 2021 @02:47AM (#27512109)
I wonder if it ever made sense for the browser to provide this facility over exposing a sandbox where the app can store arbitrary data and provide its own version of sqlite for js/wasm. At least this way your own bundled db won't be broken by browser bugs.
Re:IndexedDB is completely broken in latest Safari by int_19h on Tuesday June 15, 2021 @04:26AM (#27512644)
By the same logic, did it ever make sense for the browser to provide JS, instead of wasm + well-defined DOM API?

And I think the answer is that, no, it did not. And I suspect that we'll end up in a wasm-first world eventually anyway, just with a lengthy and inconvenient detour. But it's worth remembering that IndexedDB predates wasm by several years.

Re:IndexedDB is completely broken in latest Safari by throw_m239339 on Tuesday June 15, 2021 @08:48AM (#27514518)
You need a way to make sure whatever WASM database you bundle with your front-end app actually persists data somewhere in a transactional way. You cannot do that if you do not have a transactional data store as a WebAPI at first place. Local storage isn't.
Re:IndexedDB is completely broken in latest Safari by mnahkies on Tuesday June 15, 2021 @02:17AM (#27511911)
I think you're thinking of websql https://dev.w3.org/html5/webdatabase/
Re:IndexedDB is completely broken in latest Safari by boredprograming on Tuesday June 15, 2021 @02:18AM (#27511916)
You're right. Fuck I'm old