STR: 1. open firefox/nightly on a clean profile 2. open about:config 3. create a new string pref `network.security.banned.ports`, give it value `45699` (or some other random value, let's refer to it as `myport`) 4. open a new tab, type in `localhost:myport` (so `localhost:45699` in our example) in the location bar and hit enter ER: An error with title "This address is restricted" AR: An error saying "Unable to connect" (assuming there's nothing running on the port you picked) Ports that are blocked by default are blocked correctly. I don't know why the pref doesn't work.
Bug 1556019 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
STR: 1. open firefox/nightly on a clean profile 2. open about:config 3. create a new string pref `network.security.ports.banned`, give it value `45699` (or some other random value, let's refer to it as `myport`) 4. open a new tab, type in `localhost:myport` (so `localhost:45699` in our example) in the location bar and hit enter ER: An error with title "This address is restricted" AR: An error saying "Unable to connect" (assuming there's nothing running on the port you picked) Ports that are blocked by default are blocked correctly. I don't know why the pref doesn't work.