Skip to content

Commit 1fcb0c3

Browse files
authored
Merge pull request #2641 from cdr/send-ready-to-all-origins
Send 'loaded' event to all parent origins
2 parents fa548e9 + 42dcfc9 commit 1fcb0c3

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)