Comment Re:Didn't WebOS try this already (Score 1) 114
https://ancillary-proxy.atarimworker.io?url=https%3A%2F%2Fwiki.mozilla.org%2FWebAPI
Exposing some new APIs via Javascript isn't black magic. Phone, SMS, Camera, WebRTC, WebGL, all Javascript APIs that exist and can be tested today and have been in the works for a year or more. All the hardware access you would want is available in Javascript (for sufficiently authorized apps, obviously).
Writing a Spotify client as an OpenWebApp in pure-javascript is quite possible today. Preferably using something like Opus for audio, of course.