From 42dcfc94ab39ae7fb59e557951cf6b6bd15fa3f3 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Tue, 26 Jan 2021 18:54:55 +0000 Subject: [PATCH] Send 'loaded' event to all parent origins --- lib/vscode/src/vs/server/browser/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vscode/src/vs/server/browser/client.ts b/lib/vscode/src/vs/server/browser/client.ts index 8a92b722b..685030c33 100644 --- a/lib/vscode/src/vs/server/browser/client.ts +++ b/lib/vscode/src/vs/server/browser/client.ts @@ -102,7 +102,7 @@ export const initialize = async (services: ServiceCollection): Promise => if (parent) { // Tell the parent loading has completed. - parent.postMessage({ event: 'loaded' }, window.location.origin); + parent.postMessage({ event: 'loaded' }, '*'); // Proxy or stop proxing events as requested by the parent. const listeners = new Map void>();