mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-05-13 08:57:27 +00:00
Bug 1154426 - Ignore gzip problems if only soft-enforcing. r=mcmanus
This commit is contained in:
parent
5b2b80e960
commit
c45d6ca104
@ -40,8 +40,7 @@ nsHTTPCompressConv::nsHTTPCompressConv()
|
||||
{
|
||||
if (NS_IsMainThread()) {
|
||||
mFailUncleanStops =
|
||||
(Preferences::GetBool("network.http.enforce-framing.soft", false) ||
|
||||
Preferences::GetBool("network.http.enforce-framing.http", false));
|
||||
Preferences::GetBool("network.http.enforce-framing.http", false);
|
||||
} else {
|
||||
mFailUncleanStops = false;
|
||||
}
|
||||
|
@ -218,6 +218,8 @@ function handler4(metadata, response)
|
||||
function completeTest4(request, data, ctx)
|
||||
{
|
||||
do_check_eq(request.status, Components.results.NS_OK);
|
||||
|
||||
prefs.setBoolPref("network.http.enforce-framing.http1", true);
|
||||
run_gzip_test(99);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user