From 1ae95ba9f745e7ab2ddcd0f25321052267f62a71 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Fri, 27 Sep 2024 14:48:32 +0200 Subject: [PATCH] update comment --- packages/playwright-core/src/server/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright-core/src/server/fetch.ts b/packages/playwright-core/src/server/fetch.ts index a4ba815c98..07b499d81f 100644 --- a/packages/playwright-core/src/server/fetch.ts +++ b/packages/playwright-core/src/server/fetch.ts @@ -697,7 +697,7 @@ export function createProxyAgent(proxy: types.ProxySettings) { proxyURL.username = proxy.username; if (proxy.password) proxyURL.password = proxy.password; - // TODO: We should use HttpProxyAgent conditional on proxyOpts.protocol instead of always using CONNECT method. + // TODO: We should use HttpProxyAgent conditional on proxyURL.protocol instead of always using CONNECT method. return new HttpsProxyAgent(proxyURL); }