Skip to content

Use NetworkLinkService instead of Moat for the internet test

Spun out from #42605 (comment 3128884).

Instead of contacting Moat to test the internet, which would require user permission as per our design docs, we can use the nsINetworkLinkService API for:

  1. Testing the internet connection in TorConnect.
  2. Showing the internet connection state in about:preferences#connection.

As a result, we can also drop the "Test" button from about:preferences#connection and just make it a live status.

I'm guessing Android doesn't have an existing "Test" button anywhere.

Looping in UX for them to be aware, but this shouldn't need any input if it goes smoothly.

/cc @pierov @donuts @felicia

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information