Skip to content

Commit 7eaec28

Browse files
committed
fixes
1 parent 15152ec commit 7eaec28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/wallet/iframe/iframe-discovery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async function probeWallet(
116116
iframe.style.border = 'none';
117117
iframe.style.position = 'absolute';
118118
iframe.style.top = '-9999px';
119-
iframe.allow = 'storage-access';
119+
iframe.allow = 'storage-access; cross-origin-isolated';
120120
document.body.appendChild(iframe);
121121

122122
return new Promise((resolve) => {

src/wallet/iframe/iframe-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class IframeWalletProvider implements WalletProvider {
5656
height: 100%;
5757
display: block;
5858
`;
59-
iframe.allow = 'storage-access';
59+
iframe.allow = 'storage-access; cross-origin-isolated';
6060
this.iframe = iframe;
6161

6262
if (options?.container) {

0 commit comments

Comments
 (0)