browser_installssl.js fails when run twice in the same browser
Categories
(Toolkit :: Add-ons Manager, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
toolkit/mozapps/extensions/test/browser/browser_installssl.js fails on its second run in the same browser (mochitest-browser-chrome-repeat, test-verify) with "Should have seen the right result for an install from https://expired.example.com/ - Got +0, expected -1" and similar.
The XPIs downloaded from nocert/self-signed/untrusted/expired.example.com while the test's certificate overrides are set stay in the HTTP cache. The cleanup removes the overrides but not the cache, so the next run gets the XPIs from cache without a certificate error. The fix clears the HTTP cache in the cleanup function and removes the verify-standalone skip-if.
| Assignee | ||
Comment 1•13 days ago
|
||
The XPIs downloaded thanks to the overrides stayed cached, so a second run in the same browser got them from the cache, without any certificate error. This also removes the verify-standalone skip-if from the bug 1995208 test-verify annotations: --verify passes now.
Comment 3•12 days ago
|
||
| bugherder | ||
Description
•