Intermittent Incorrect URL Bar state and various fixes related with state and url #8635
Description
Description:
URL Bar update moved to didFailProvisionalNavigation
to support spoofing prevention properly. For cancelation didFailProvisionalNavigation
should be used.
This way we can cover both cancelation url update problem and also blank address bar before loading starts.
Issues closed related with this were
Also the async trigger for observe webview key values inside didCommit is removed. In addition verifyTrust is forced to run async and the awaited result is used on updateURL bar.
We are thinking these 2 changes will solve the intermittent problem related with loading urls stuck in insecure state.
In addition this change also should be tested where we show secure icon when insecure website is loaded.
Test Plan
Test all the STRs in these 3 tickets, fresh test all over again.
In addition always keep an eye on if a insecure website indicator shown on a secure website.