Remove no longer used function

This commit is contained in:
Michael Mac-Vicar 2025-02-27 11:41:38 -03:00
parent 4c36b1e55f
commit 79961e6855

View file

@ -378,14 +378,6 @@ export class ClientCertificatesProxy {
}
}
function normalizeOrigin(origin: string): string {
try {
return new URL(origin).origin;
} catch (error) {
return origin;
}
}
function convertClientCertificatesToTLSOptions(
clientCertificates: types.BrowserContextOptions['clientCertificates']
): Pick<https.RequestOptions, 'pfx' | 'key' | 'cert'> | undefined {