-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Bugfix FXIOS-8027- PayPal not working #24609
Conversation
Simulator.Screen.Recording.-.iPad.Pro.11-inch.M4.-.2025-02-06.at.11.54.14.mp4Paypal popUp is now shown same as on iPhone as a Popup in the tab where the button was pressed |
...ontend/Browser/BrowserViewController/Extensions/BrowserViewController+WebViewDelegates.swift
Outdated
Show resolved
Hide resolved
...ontend/Browser/BrowserViewController/Extensions/BrowserViewController+WebViewDelegates.swift
Show resolved
Hide resolved
…nsions/BrowserViewController+WebViewDelegates.swift Co-authored-by: lmarceau <[email protected]>
type: WKMediaCaptureType, | ||
decisionHandler: @escaping (WKPermissionDecision) -> Void) { | ||
// If the tab isn't the selected one or we're on the homepage, do not show the media capture prompt | ||
guard tabManager.selectedTab?.webView == webView, !contentContainer.hasLegacyHomepage else { |
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.
Minor nitpick: this should probably be an identity check (===
). Offhand I think ==
will just fall into the default isEqualTo:
for WKWebView which presumably just compares pointers anyway, but it would make sense to be explicit.
@Mergifyio backport release/v136 |
✅ Backports have been created
|
Co-authored-by: lmarceau <[email protected]> (cherry picked from commit 00d9b09)
Bugfix FXIOS-8027- PayPal not working (#24609) Co-authored-by: lmarceau <[email protected]> (cherry picked from commit 00d9b09) Co-authored-by: yoanarios <[email protected]>
📜 Tickets
Jira ticket
Github issue
💡 Description
Continue the work done in #24497
createWebViewWith
if it is Paypal popup because the logic we have creates a new blank page tab because WKNavigationAction request is empty.📝 Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)