зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ec4fbd52f18c (bug 1915848) for causing xpcshell failures at test_trr.js. CLOSED TREE
This commit is contained in:
Родитель
c01a2e5c8c
Коммит
4487d89f19
|
@ -13636,7 +13636,7 @@
|
|||
|
||||
- name: network.http.http2.allow-push
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
value: true
|
||||
mirror: always
|
||||
|
||||
- name: network.http.http2.push-allowance
|
||||
|
|
|
@ -26,7 +26,6 @@ add_setup(async function setup() {
|
|||
}
|
||||
|
||||
Services.prefs.setIntPref("network.trr.mode", Ci.nsIDNSService.MODE_TRRFIRST);
|
||||
Services.prefs.setBoolPref("network.http.http2.allow-push", true);
|
||||
});
|
||||
|
||||
let test_answer = "bXkgdm9pY2UgaXMgbXkgcGFzc3dvcmQ=";
|
||||
|
@ -63,7 +62,7 @@ add_task(async function testTXTRecordPushPart1() {
|
|||
inRecord.QueryInterface(Ci.nsIDNSAddrRecord);
|
||||
let answer = inRecord.getNextAddrAsString();
|
||||
Assert.equal(answer, test_answer_addr, "got correct answer");
|
||||
}).skip("H2 push is disabled");
|
||||
});
|
||||
|
||||
// verify the TXT pushed record
|
||||
add_task(async function testTXTRecordPushPart2() {
|
||||
|
@ -81,4 +80,4 @@ add_task(async function testTXTRecordPushPart2() {
|
|||
.QueryInterface(Ci.nsIDNSTXTRecord)
|
||||
.getRecordsAsOneString();
|
||||
Assert.equal(answer, test_answer, "got correct answer");
|
||||
}).skip("H2 push is disabled");
|
||||
});
|
||||
|
|
|
@ -15,7 +15,6 @@ function run_test() {
|
|||
prefs = Services.prefs;
|
||||
|
||||
http2pref = prefs.getBoolPref("network.http.http2.enabled");
|
||||
Services.prefs.setBoolPref("network.http.http2.allow-push", true);
|
||||
|
||||
prefs.setBoolPref("network.http.http2.enabled", true);
|
||||
prefs.setCharPref(
|
||||
|
|
|
@ -8,7 +8,6 @@ SetParentalControlEnabled(false);
|
|||
|
||||
function setup() {
|
||||
Services.prefs.setBoolPref("network.dns.get-ttl", false);
|
||||
Services.prefs.setBoolPref("network.http.http2.allow-push", true);
|
||||
h2Port = trr_test_setup();
|
||||
}
|
||||
|
||||
|
@ -148,7 +147,7 @@ add_task(async function test_push() {
|
|||
setModeAndURI(3, "404");
|
||||
|
||||
await new TRRDNSListener("push.example.org", "2018::2018");
|
||||
}).skip("H2 push is disabled");
|
||||
});
|
||||
|
||||
add_task(test_AAAA_records);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче