mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-04 22:37:29 +09:00
Remove support and tests for HSTS priming from the tree. Fixes #384
This commit is contained in:
parent
96a0af1be8
commit
d4ac94cf3e
56 changed files with 26 additions and 1812 deletions
|
|
@ -40,15 +40,10 @@ let tests = [
|
|||
function* setup() {
|
||||
Services.prefs.setBoolPref("browser.send_pings", true);
|
||||
Services.prefs.setIntPref("browser.send_pings.max_per_link", -1);
|
||||
Services.prefs.setBoolPref("security.mixed_content.block_active_content", false);
|
||||
// The server we create can't handle the priming HEAD requests
|
||||
Services.prefs.setBoolPref("security.mixed_content.send_hsts_priming", false);
|
||||
|
||||
SimpleTest.registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("browser.send_pings");
|
||||
Services.prefs.clearUserPref("browser.send_pings.max_per_link");
|
||||
Services.prefs.clearUserPref("security.mixed_content.block_active_content");
|
||||
Services.prefs.clearUserPref("security.mixed_content.send_hsts_priming");
|
||||
});
|
||||
},
|
||||
|
||||
|
|
@ -151,7 +146,7 @@ let tests = [
|
|||
|
||||
// The referrer will be loaded using a secure channel.
|
||||
navigate("https://example.com/chrome/dom/html/test/" +
|
||||
"file_anchor_ping.html?" + "http://localhost:" +
|
||||
"file_anchor_ping.html?" + "http://127.0.0.1:" +
|
||||
server.identity.primaryPort + ping);
|
||||
|
||||
// Wait until the ping has been sent.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue