Testing the navigator.connection information available through the Network Information API.