firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

[New Error Pages] Follow up work on replaceLocation() improvements

Open data-sync-user opened this issue 1 year ago • 2 comments

As discussed in https://github.com/mozilla-mobile/firefox-ios/pull/23746 , replaceLocation function can possibly be cleaned up. With the latest changes for the error pages, webView?.replaceLocation(with: is now used in two places only in production code (let’s ignore reference to this method under the WebEngine code, this will need to be updated later on).

Questions

  • Should we wait for all the error pages to be native error pages to clean this up? If yes, we can wait until clean up. If no then;
    • Can replaceLocation(with: usage under ErrorPageHelper be removed? Is this class still used?
    • Can replaceLocation(with: under LocalRequestHelper be removed? This class seems to be used for CertError and NetError (see related html pages).

┆Issue is synchronized with this Jira Task

data-sync-user avatar Dec 13 '24 15:12 data-sync-user

This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!

github-actions[bot] avatar Nov 29 '25 00:11 github-actions[bot]

➤ Cyndi Chin commented:

Let’s keep this open.

data-sync-user avatar Dec 09 '25 13:12 data-sync-user