krakenjs / post-robot

Cross domain post-messaging on the client side using a simple listener/client pattern.
Apache License 2.0
741 stars 92 forks source link

Window did not load after 5000ms #99

Open Ferm0494 opened 2 years ago

Ferm0494 commented 2 years ago

Hello I'm trying to communicate a React App with an Iframe for payment, however, the communication between these 2 is intermentely, sometimes postRobot.send(iframe.contentWindow,'user',{....}, {domain:'https://${hostOfmyIframe}.com'}

Such sometimes I'm able to make a successful request, and sometimes I'm not able to make the request that appears this error of the window not being loaded when send is being called.

NOTE: 1) I've already checked this https://github.com/krakenjs/post-robot/issues/73 2) Both app and iframe are within the same version: 8.0.18.