You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Sidsector9, we're going to be moving away from checking window.location.protocol soon and instead rely on checking window.isSecureContext to verify that the Web Payments SDK is loaded within a secure context across the entire page hierarchy.
Once this change is made it should resolve this issue as well, as long as the parent hierarchy of the iframe is secure, since window.isSecureContext is true within an iframe using a blob URL src value (JSFiddle)
We are trying to load Digital Wallets inside an
iframe
which has itssrc
set to a blob URL.Due to this, Square throws the following error:
Is it possible to consider
window.parent
when checking forprotocol
when the src of the iframe is a blob URL?The text was updated successfully, but these errors were encountered: