-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce occurrence of "Detected iframe close" error #426
Conversation
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #426 +/- ##
==========================================
- Coverage 95.64% 95.59% -0.06%
==========================================
Files 18 18
Lines 1217 1225 +8
==========================================
+ Hits 1164 1171 +7
- Misses 53 54 +1
☔ View full report in Codecov by Sentry. |
Description
We're seeing rare cases when we see
Detected iframe close
before second render has a chance to finish in slow browsers with poor connection. With this change, we're adding an additional check before we decide to throw the error.Here is the example:
https://github.com/krakenjs/zoid/blob/main/src/parent/parent.js#L866
Why are we making these changes? Include references to any related Jira tasks or GitHub Issues
https://paypal.atlassian.net/browse/LI-7432