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

Fix: Throw Error if window is closed when type is serialized #88

Closed mnicpt closed 4 years ago

mnicpt commented 4 years ago

IFRAME type was being returned if popup window was closed immediately causing the spinner to overlay the primary page. https://github.com/paypal/paypal-checkout-components/issues/1339