Skip to content

Commit 42dcfc9

Browse files
committed
Send 'loaded' event to all parent origins
1 parent c4610f7 commit 42dcfc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vscode/src/vs/server/browser/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const initialize = async (services: ServiceCollection): Promise<void> =>
102102

103103
if (parent) {
104104
// Tell the parent loading has completed.
105-
parent.postMessage({ event: 'loaded' }, window.location.origin);
105+
parent.postMessage({ event: 'loaded' }, '*');
106106

107107
// Proxy or stop proxing events as requested by the parent.
108108
const listeners = new Map<string, (event: Event) => void>();

0 commit comments

Comments
 (0)