The following revision refers to this bug:
https://chromium.googlesource.com/chromium/src.git/+/d644f802d97cd6745bc070a1401211e06938ce72
commit d644f802d97cd6745bc070a1401211e06938ce72
Author: Eugene But <eugenebut@chromium.org>
Date: Thu Dec 07 22:54:43 2017
Moved Safe Mode code to DidStartNavigation.
Moved from webDidUpdateSessionForLoadWithURL: to didStartNavigation:.
didStartNavigation: is executed a little bit later than previous
callback, which makes app returning from safe mode a little bit later.
This difference will allow to execute more code in safe mode, but will
not affect the users, because the delay between old and new callback
is not visually distinguishable.
webDidUpdateSessionForLoadWithURL: callbacks is a part of deprecated
CRWWebDelegate and should be removed. Placing safe more code into
DidStartNavigation allows moving this code from Tab to TabHelper in
the future.
Bug: 674991
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I3a67ad75806aaa65c00ba45bbe6a3b99f749290d
Reviewed-on: https://chromium-review.googlesource.com/811344
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522590}
[modify] https://crrev.com/d644f802d97cd6745bc070a1401211e06938ce72/ios/chrome/browser/tabs/tab.mm
Comment 1 by eugene...@chromium.org
, Dec 16 2016