From 8d934be6dc6af2f8cfd83f00c628d0ca6e245cf7 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 3 Mar 2020 13:10:32 -0600 Subject: [PATCH] Elaborate what won't work over an insecure domain Closes #997. --- ci/vscode.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/vscode.patch b/ci/vscode.patch index ec2b780c..8ffbca90 100644 --- a/ci/vscode.patch +++ b/ci/vscode.patch @@ -444,7 +444,7 @@ index d0f6e6b18a..1966fd297d 100644 - diff --git a/src/vs/server/browser/client.ts b/src/vs/server/browser/client.ts new file mode 100644 -index 0000000000..1e6bca3b52 +index 0000000000..95e70869f2 --- /dev/null +++ b/src/vs/server/browser/client.ts @@ -0,0 +1,224 @@ @@ -559,7 +559,7 @@ index 0000000000..1e6bca3b52 + if (!window.isSecureContext) { + (services.get(INotificationService) as INotificationService).notify({ + severity: Severity.Warning, -+ message: 'code-server is being accessed over an insecure domain. Some functionality may not work as expected.', ++ message: 'code-server is being accessed over an insecure domain. Web views, the clipboard, and other functionality will not work as expected.', + actions: { + primary: [{ + id: 'understand',