Re:A Privacy Analysis of the HTML5 Battery Status API [pdf]
by nilliams on Tuesday July 07, 2015 @08:06AM
(#9844884)
You wouldn't necessarily.
Main use-case I believe was FirefoxOS -- at least the first time I heard it mentioned was during an FirefoxOS talk where they discussed other hardware-y APIs and trying to get them standardised.
It would also be useful for an OS that supported HTML5 native apps. Additionally having a standard API gives projects like Phonegap an API to 'target' when exposing native device APIs to JavaScript.
Main use-case I believe was FirefoxOS -- at least the first time I heard it mentioned was during an FirefoxOS talk where they discussed other hardware-y APIs and trying to get them standardised.
It would also be useful for an OS that supported HTML5 native apps. Additionally having a standard API gives projects like Phonegap an API to 'target' when exposing native device APIs to JavaScript.