Conversation

so, a lot of people I know have a severely negative view of WebUSB. that view is, mostly, justified. I think it is only more interesting then that I see the GrapheneOS flashing tool--yes, flashing stuff via the browser--as net beneficial
Quote Tweet
An experimental version of our web-based installer for GrapheneOS is now available: grapheneos.org/install/web This can be used from browsers with WebUSB support. Most Chromium-based browsers are supported including Chrome, Edge and Brave. No need to run any additional software.
Show this thread
7
144
it's beneficial because flashing is hard and most people rightfully don't want learn how fastboot, adb, etc work, and seek out convenience. they'll find it either with the first party, GrapheneOS, or a potentially malicious or negligent third party. here, WebUSB is harm reduction
1
76
I'm not sure if WebUSB could have been designed in a way that makes harm negligible. I know that it could have been designed to minimize potential harm, and it clearly wasn't (Chrome just lets you do ~anything to ~any device), and I find that unfortunate.
3
59
Replying to and
As far as I know, WebUSB originated at Mozilla, as did WebGL to a lesser extent. They don't implement WebUSB in Firefox, but it was their idea, and their initial work on the spec. NaCl evolved to PNaCl and then that effort got directed into the collaborative WebAssembly work.
2
3
Replying to and
asm.js, sure, not WebAssembly. PNaCl is also the relevant technology, not the legacy NaCl. WebAssembly vs. PNaCl is largely the same issue as IndexedDB vs WebSQL. PNaCl was too tied to a specific implementation (LLVM) similarly to WebSQL being too tied to one (SQLite).
1
1
It's what Google wanted and created without the LLVM heritage. Sure, it was a collaboration between them, but it looks more like Mozilla and Google collaborating to reimplement Google's approach together to me. PNaCl let you avoid JS FFI via Pepper but I think wasm will get that.
1