Bug 1689554 - Enable UDPSocket on the socket process and fix a test r=necko-reviewers,kershaw

Differential Revision: https://phabricator.services.mozilla.com/D106506
This commit is contained in:
Dragana Damjanovic 2021-02-26 08:42:50 +00:00
parent 396ce46973
commit 909e83ac11
2 changed files with 6 additions and 0 deletions

View File

@ -460,6 +460,7 @@ Classes = [
'contract_ids': ['@mozilla.org/network/udp-socket;1'],
'type': 'mozilla::net::nsUDPSocket',
'headers': ['/netwerk/base/nsUDPSocket.h'],
'processes': ProcessSelector.ALLOW_IN_SOCKET_PROCESS,
},
{
'cid': '{ff41913b-546a-4bff-9201-dc9b2c032eba}',

View File

@ -673,6 +673,11 @@ add_task(async function testH3Connection() {
);
Services.prefs.setBoolPref("network.http.http3.enabled", true);
Services.prefs.setIntPref(
"network.dns.httpssvc.http3_fast_fallback_timeout",
100
);
await trrServer.registerDoHAnswers("test.h3.com", "HTTPS", [
{
name: "test.h3.com",