So in short, Google proves once again to _never_ take a bet on their technology.
So in short, Google proves once again to _never_ take a bet on their technology.
Browsers already are a overly complex security nightmare. Moreover the recent example of this stupid but rather simple battery API has shown us several, some more and some less obvious ways of how it can be abused. But sure Google will implement WebUSB and all sort of other shit they may imagine, the others will follow as always. In the end the browser will finally be the OS in your OS but worse and with a huge attack surface.
> the alternative? [...] install a native app which aren't nearly as well sandboxed right now (Windows, Mac, Linux).
err, the sandboxing works because web APIs don't already expose things which are suggested to be exposed here. Exposing them will break that "sandbox", to a certain (major) degree, atleast.
Perfect is the enemy of good! It's better than the alternative and that's all that matters.
In terms of maturity, all of these techniques are probably more mature than any WebUSB/Browser hardware access thing/abysmal-of-the-day.
Also if you load stuff like MicroPython on the micro:bit you can't access its serial REPL from the web. That sucks, plain and simple.
Is there a reason that those are worse options than Chrome apps?
It's not all bad - there's more freedom with these.
Source: Have written many many Electron node modules
npm install --global node-gyp
npm install --global --production windows-build-tools