brave / brave-ios

Brave iOS Browser
https://brave.com
Mozilla Public License 2.0
1.7k stars 440 forks source link

Fix #8661: Always allow WebKit to load popup URLs before switching tabs #8683

Closed kylehickinson closed 10 months ago

kylehickinson commented 10 months ago

There was a race condition on older devices that where WebKit would not load the popup URL before Brave attempted to select the tab. Selecting the tab would then attempt to restore it using the tab's current URL which would be about:blank since the web view had not made any requests yet.

Summary of Changes

This pull request fixes #8661

Submitter Checklist:

Reviewer Checklist: