Bug 1070858: [AppUsageMetrics] Track online status through navigator.onLine

https://bugzilla.mozilla.org/show_bug.cgi?id=1070858
If it was me, I wouldn't declare a variable for this. I'd just use navigator.onLine in the expression below. Seems clearer to me that way.