Closed Bug 1673856 Opened 1 year ago Closed 1 year ago

Remove network.dns.ipv4OnlyDomains preference

Categories

(Core :: Networking: DNS, task)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: fredw, Assigned: fredw)

References

Details

Attachments

(1 file, 1 obsolete file)

This pref is currently empty by default and is only used for xpcshell tests on windows not to resolve "localhost" with ipv6.

Removing it does not seem to break anything (maybe that's not necessary anymore after bug 1673364 or maybe this is just an obsolete workaround): https://treeherder.mozilla.org/#/jobs?repo=try&revision=b23ff519ac9de21557f31d6216ec5532b0228507

It is necessary to make the test form bug 1673315 pass.

This preference was introduced in bug 68796 to allow users to disable
IPv6 resolution on a per-domain basis. After bug 377395, this preference
is empty by default. It is currently only used when running Windows
XPCShell tests in order to disable IPv6 resolution for "localhost".
However, this does not seem to be needed anymore and actually breaks the
expectation that "localhost" resolves to IPv4 and IPv6 loopback
addresses (see bugs 1673315, 1673364, 1220810).

This preference is currently only used when running Windows XPCShell
tests in order to disable IPv6 resolution for "localhost". However, this
does not seem to be needed anymore and actually breaks the expectation
that "localhost" resolves to IPv4 and IPv6 loopback addresses
(see bugs 1673315, 1673364, 1220810).

Attachment #9184256 - Attachment is obsolete: true
Attachment #9184246 - Attachment description: Bug 1673856 Remove network.dns.ipv4OnlyDomains preference. r=valentin → Bug 1673856 Do not set network.dns.ipv4OnlyDomains when running XPCShell
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9c3b7c89e2a6
Do not set network.dns.ipv4OnlyDomains when running XPCShell r=valentin,necko-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.