Fix Google sign-in infinite loading in browser pane#1493
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughA helper function was added to centralize the decision logic for whether nil-target navigation should fallback to opening in a new tab. This function is now used in two navigation decision paths: the WKNavigationAction policy handler and the UI delegate's createWebViewWith flow, with updated comments reflecting the new handling. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
* Add regression test for Google sign-in popup fallback (manaflow-ai#1491) * Fix Google sign-in popup routing regression (manaflow-ai#1491)
Summary
.othernil-target navigations back into new tabsWKUIDelegate.createWebViewWithpopup path so Google OAuth keepswindow.openersemanticsTesting
./scripts/reload.sh --tag fix-google-auth1491reached** BUILD SUCCEEDED **Fixes #1491
Summary by cubic
Fixes Google sign-in infinite loading by preserving popup opener semantics and not rerouting scripted
.othernil-target navigations to new tabs. Fixes #1491.WKUIDelegate.createWebViewWithso OAuthwindow.openerstays intact.target=_blanklink activations; added regression tests for this behavior.Written for commit 4ef164b. Summary will update on new commits.
Summary by CodeRabbit
Bug Fixes
Tests