Closed Bug 1677521 Opened 5 years ago Closed 5 years ago

Add a different way for OCSP channels to use TRR_DISABLED_MODE

Categories

(Core :: Networking: DNS, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Bug 1666072 had to disable the test because it assumes only OCSP channels call SetAllowSTS(false) - but the same bug also makes captive portal channels perform the same call.

We need a separate method that only gets called by OCSP channels after calling SetAllowSTS(false) that optionally

This test was disabled in Bug 1666072 when we set the allowSTS=false for
captive portal requests to prevent a HSTS upgrade redirect.

Bug 1681683 added a different property (isOCSP) to be able to differentiate
OCSP channels from regular ones, so even if captive portal channels have
allowSTS=false, they still use the same TRR mode as was initially set
on the channel. This means the test will now work in mode3 as well.

Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/10b44c471ac7 Enable test_trr.js::test25e r=necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: