Closed
Bug 1771261
Opened 2 years ago
Closed 2 years ago
Add a test API to clear HSTS state
Categories
(GeckoView :: General, enhancement, P1)
Tracking
(firefox100 wontfix, firefox101 wontfix, firefox102 wontfix, firefox103 fixed)
RESOLVED
FIXED
103 Branch
People
(Reporter: calu, Assigned: calu)
References
Details
(Whiteboard: [geckoview:m103])
Attachments
(1 file)
Add a test API to clear the HSTS list so that the uris used and modified by the HSTS header in org.mozilla.geckoview.test.NavigationDelegateTest#loadHSTSBadCert
does not interfere with other tests.
Assignee | ||
Comment 1•2 years ago
|
||
Used the browser code as an example (https://searchfox.org/mozilla-central/rev/9902932742fcdce2c956eeb81fd38350f5394ab2/security/manager/ssl/tests/mochitest/browser/browser_HSTS.js#161-164). It gets the site security service and calls clearAll(). I followed this example (https://hg.mozilla.org/mozilla-central/rev/44b1a295c186d1dbba00c047cbd3c706eca559b2) to add a test API.
Updated•2 years ago
|
Severity: -- → N/A
status-firefox100:
--- → wontfix
status-firefox101:
--- → wontfix
status-firefox102:
--- → wontfix
Priority: -- → P1
Whiteboard: [geckoview:m103]
Pushed by calu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3ef8a6143e2f Add test API to clear HSTS bug r=geckoview-reviewers,agi
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox103:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•