We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08ccdc9 commit d6041b5Copy full SHA for d6041b5
1 file changed
packages/trace-viewer/src/ui/workbenchLoader.tsx
@@ -69,6 +69,8 @@ export const WorkbenchLoader: React.FunctionComponent<{
69
});
70
React.useEffect(() => {
71
const listener = (e: MessageEvent) => {
72
+ if (e.origin !== window.location.origin)
73
+ return;
74
const { method, params } = e.data;
75
76
if (method !== 'load' || !(params?.trace instanceof Blob))
0 commit comments