Remove no longer used function
This commit is contained in:
parent
4c36b1e55f
commit
79961e6855
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue