From 8d7db6955d7a2cc67cb0d715e2ce9e81bc44f780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Fri, 25 Jun 2021 11:49:37 +0200 Subject: [PATCH] remove proposal check closes #124263 --- src/vs/workbench/api/common/extHost.api.impl.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index 4f09b1dc565..a79c2a62bde 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -325,16 +325,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I return extHostUrls.createAppUri(uri); } - const isHttp = matchesScheme(uri, Schemas.http) || matchesScheme(uri, Schemas.https); - - if (!isHttp) { - checkProposedApiEnabled(extension); // https://github.com/microsoft/vscode/issues/124263 - } - try { return await extHostWindow.asExternalUri(uri, { allowTunneling: !!initData.remote.authority }); } catch (err) { - if (isHttp) { + if (matchesScheme(uri, Schemas.http) || matchesScheme(uri, Schemas.https)) { return uri; }