Closed Bug 2092065 Opened 22 days ago Closed 22 days ago

Client auth browser tests fail when run twice in a row

Categories

(Core :: Security: PSM, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(3 external files)

When each test is run twice in a row (--repeat=1, the upcoming mochitest-repeat jobs), three client certificate tests fail on their second run because the first run leaves state behind:

A later run of the test would otherwise not be asked for a certificate on its
first visits.

A later run of the test would otherwise find the certificate remembered in
every tab and report the tabs as not isolated.

security.enterprise_roots.enabled defaults to true, so setting it to true
did not change it and the intermediate stayed loaded, giving a later run of
the test one more client certificate to choose from.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6bdb9857fabc https://hg.mozilla.org/integration/autoland/rev/d7611cd98994 Clear the client auth decisions remembered by originattributes/browser_clientAuth.js, r=firefox-desktop-core-reviewers ,mossop.
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a7e32c9ee9b9 https://hg.mozilla.org/integration/autoland/rev/e04afe31c103 Clear the client auth decisions remembered by browser_clientAuthRememberService.js, r=keeler. https://github.com/mozilla-firefox/firefox/commit/26cc07a62ee7 https://hg.mozilla.org/integration/autoland/rev/d558361b704a Actually remove the enterprise intermediate added by browser_clientAuth_connection.js, r=keeler.
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: