Can't disable calls to detectportal.firefox.com on Ubuntu
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: peter, Unassigned)
Details
Attachments
(1 file)
4.20 MB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15
Steps to reproduce:
I'm trying to remove requests to detectportal.firefox.com by setting the preferences 'network.captive-portal-service.enabled': false. This works fine on Mac OS X but on Ubuntu the same setting doesn't disable the calls.
I collect the MOZ_LOG using timestamp,nsHttp:5,cache2:5,nsSocketTransport:5,nsHostResolver:5 to see what requests is being sent by Firefox.
I use Browsertime to generate the moz log with the following parameters:
--firefox.collectMozLog https://en.wikipedia.org/wiki/Barack_Obama -n 1 --firefox.mozillaProPreferences
But you can do it by hand also by just enabling the log and go to a page.
I want to be able to remove all background requests to make sure they do not impact my performance metrics.
Actual results:
On Mac OS X the logs include one reference to detectportal.firefox.com.
On Ubuntu (using Docker) the same code generates 143 references to detectportal.firefox.com.
Expected results:
It should be the same result for both OS X and Ubuntu.
Comment 1•5 years ago
|
||
If you want to disable the calls completely you also need to set network.connectivity-service.enabled
to false.
The difference in the number of calls can be attributed to differences in how we detect network changes between the two platforms.
If you still have issues after setting this pref, please reopen the bug.
Description
•