From Core Mobile Web Platform Community Group
Small, often forgotten part of the Offline section of the HTML5 spec.
Allows querying the "onLine" [sic] property of the navigator host object for current status. Triggers events when this changes.
This is part of the HTML5 spec.