Skip to content

Commit 226f917

Browse files
committed
[core] don't refer to globalProxy in window.open
1 parent 8c1d04f commit 226f917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/dom/open.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function (client: ScramjetClient) {
1616
if (!realwin) return ctx.return(realwin);
1717

1818
if (SCRAMJETCLIENT in realwin) {
19-
return ctx.return(realwin[SCRAMJETCLIENT].globalProxy);
19+
return ctx.return(realwin[SCRAMJETCLIENT].global);
2020
} else {
2121
const newclient = new ScramjetClient(realwin);
2222
// hook the opened window

0 commit comments

Comments
 (0)