on/offline event capture

Test required here: File -> Work Offline - toggle the value and there should be three list items notifying of online and offline.

Note that the test shows that window.ononline and window.onoffline doesn't work (which I thought I had read in the specs somewhere...).

HTML5 Powered with Connectivity / Realtime, Device Access, Graphics, 3D & Effects, Multimedia, Performance & Integration, Semantics, and Offline & Storage
Fork me on GitHub