Web APIs vs APIs for Web-based OS
There is a growing number of operating systems and applications frameworks that are based on, or integrate deeply with Web technologies: Intel & Samsung’s Tizen, HP (formerly Palm) WebOS, Mozilla’s boot2gecko, Windows 8 Metro apps, WAC, Webinos, PhoneGap to name a few.
In particular, most of these projects have JavaScript APIs to interact with features that are not available to browsers due to security and privacy concerns.