mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.24k stars 2.94k forks source link

Investigate homepage reload fix + potential refactors #23242

Open data-sync-user opened 2 days ago

data-sync-user commented 2 days ago

Recently a fix was merged in which requires reloading the homepage to avoid a blank screen. This was necessary due to the blank homepage bug regressing after removing a previous fix which caused a leak of WKWebView.

We should investigate this further to figure out:

  1. Why this reload is necessary
  2. Whether this can be refactored further to clean this code up

Note: for additional context and information please see the related PR and linked tickets there.

┆Issue is synchronized with this Jira Task