mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +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
|
|
@ -61,8 +61,6 @@ function pushPrefEnv() {
|
|||
"set": [
|
||||
["security.mixed_content.block_active_content", true],
|
||||
["security.mixed_content.block_display_content", true],
|
||||
["security.mixed_content.use_hsts", false],
|
||||
["security.mixed_content.send_hsts_priming", false],
|
||||
]
|
||||
};
|
||||
SpecialPowers.pushPrefEnv(options, deferred.resolve);
|
||||
|
|
|
|||
|
|
@ -95,10 +95,6 @@ function testXhrWarn() {
|
|||
|
||||
let lastRequest = yield waitForFinishedRequest(XHR_WARN_REQUEST_PREDICATE);
|
||||
if (lastRequest.request.method == "HEAD") {
|
||||
// in non-e10s, we get the HEAD request that priming sends, so make sure
|
||||
// a priming request should be sent, and then get the actual request
|
||||
is(Services.prefs.getBoolPref("security.mixed_content.send_hsts_priming"),
|
||||
true, "Found HSTS Priming Request");
|
||||
lastRequest = yield waitForFinishedRequest(XHR_WARN_REQUEST_PREDICATE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue