Chromium Code Reviews
Description[ios] Set WebState::IsLoading flag to false if load is cancelled.
Before this change WebState::IsLoading was returning false which caused
Toolbar to think that page did not finish loading. In M52 and earlier
toolbar was relying to CRWWebController.loadPhase API to check the load
state so this bug is M53 regression.
Keeping WebState::IsLoading in sync with CRWWebController.loadPhase
fixes toobar bug and is generally a reasonable thing to do.
BUG=638277
Review-Url: https://codereview.chromium.org/2250563003
Cr-Commit-Position: refs/heads/master@{#412391}
(cherry picked from commit 16e4de4de55c5c946b8bdfa47bfee274afc930f2)
Committed: https://chromium.googlesource.com/chromium/src/+/aa1c693955107d0e4d43ed59ebabe974ee698665
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||