Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
-
CI results over the last 22 days12,814Runs99.93%Pass8Failures1Timeouts0Crashes0Skips
Runs with issues per day (up to 0.5%) Oct 6Oct 27- Failures
- Timeouts
- This test runs only with pattern: !socketprocess_networking
- Manifest: netwerk/test/unit/xpcshell.toml
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
"use strict";
const { TestUtils } = ChromeUtils.importESModule(
);
// The oblivious HTTP service is created during nsDNSService::Init, and must
// not fetch its config before the DNS service has finished initializing.
add_task(async function test_dns_init_with_ohttp_config() {
Assert.ok(Services.dns, "DNS service was created");
let ohttpService = Cc[
"@mozilla.org/network/oblivious-http-service;1"
].getService(Ci.nsIObliviousHttpService);
await TestUtils.waitForCondition(() => {
let relayURI = {};
ohttpService.getTRRSettings(relayURI, {});
}, "OHTTP prefs were read");
});