From 50a7231b319e7703e059af35e3f85d06493558eb Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Wed, 29 Jan 2020 16:22:53 +0100 Subject: [PATCH] Revert "Freeze uris before trying to resolveExternalUri" This reverts commit e8793a8ea25781fd1d9332fe6acb33efda98f296. Fixes https://github.com/microsoft/vscode/issues/89624 --- src/vs/editor/browser/services/openerService.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vs/editor/browser/services/openerService.ts b/src/vs/editor/browser/services/openerService.ts index 1fdd8eedea7..a33a4ec776f 100644 --- a/src/vs/editor/browser/services/openerService.ts +++ b/src/vs/editor/browser/services/openerService.ts @@ -14,7 +14,6 @@ import { ICodeEditorService } from 'vs/editor/browser/services/codeEditorService import { CommandsRegistry, ICommandService } from 'vs/platform/commands/common/commands'; import { IOpener, IOpenerService, IValidator, IExternalUriResolver, OpenOptions, ResolveExternalUriOptions, IResolvedExternalUri, IExternalOpener, matchesScheme } from 'vs/platform/opener/common/opener'; import { EditorOpenContext } from 'vs/platform/editor/common/editor'; -import { deepFreeze } from 'vs/base/common/objects'; class CommandOpener implements IOpener { @@ -164,7 +163,6 @@ export class OpenerService implements IOpenerService { } async resolveExternalUri(resource: URI, options?: ResolveExternalUriOptions): Promise { - deepFreeze(resource); for (const resolver of this._resolvers.toArray()) { const result = await resolver.resolveExternalUri(resource, options); if (result) { -- GitLab