-
Notifications
You must be signed in to change notification settings - Fork 5.9k
fix: webviews failing to load the iframe HTML #5103
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
Conversation
Code added in 1.65.0 broke webviews when you are hosting them from the same domain.
Don't worry, I will take care of that later! (Or make tickets and either of us can do it, planning to do it for all patches). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate you updating the description/comment as well! 🙌🏼
Codecov Report
@@ Coverage Diff @@
## main #5103 +/- ##
=======================================
Coverage 71.33% 71.33%
=======================================
Files 30 30
Lines 1685 1685
Branches 374 374
=======================================
Hits 1202 1202
Misses 413 413
Partials 70 70 Continue to review full report at Codecov.
|
I think this is more true to the spirit of the code (it is trying to authenticate cross-origin requests so if it is not cross-origin we can skip it).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate your thoroughness!
Code added in 1.65.0 broke webviews when you are hosting them from the same domain.
Code added in 1.65.0 broke webviews when you are hosting them from the
same domain.
Really should add an e2e test as well but I do not have the time right now.