Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 2765903003: Correctly reload URLs in web views if a native controller is displayed. (Closed)

Created:
3 years, 9 months ago by kkhorimoto
Modified:
3 years, 9 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org, liaoyuke, Olivier
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Correctly reload URLs in web views if a native controller is displayed. If a page has failed to load, a native controller is used to display the error page. However, if NavigationManager::Reload() is called while an error page is displayed, we want to attempt to reload the current NavigationItem's URL, not the native error page. BUG=703707 Review-Url: https://codereview.chromium.org/2765903003 Cr-Commit-Position: refs/heads/master@{#458499} Committed: https://chromium.googlesource.com/chromium/src/+/2d163839906a68671aea3291a7606babbfc72999

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M ios/web/web_state/ui/crw_web_controller.mm View 2 chunks +3 lines, -3 lines 2 comments Download

Messages

Total messages: 16 (10 generated)
kkhorimoto
3 years, 9 months ago (2017-03-21 17:45:55 UTC) #2
Eugene But (OOO till 7-30)
Thanks for fixing this! lgtm. I kicked of eg-simulator build to run tests.
3 years, 9 months ago (2017-03-21 17:50:10 UTC) #4
Olivier
https://codereview.chromium.org/2765903003/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2765903003/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode1983 ios/web/web_state/ui/crw_web_controller.mm:1983: if ([self shouldLoadURLInNativeView:self.currentNavItem->GetURL()]) { I think this won't handle ...
3 years, 9 months ago (2017-03-21 17:50:26 UTC) #6
kkhorimoto
https://codereview.chromium.org/2765903003/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2765903003/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode1983 ios/web/web_state/ui/crw_web_controller.mm:1983: if ([self shouldLoadURLInNativeView:self.currentNavItem->GetURL()]) { On 2017/03/21 17:50:26, Olivier Robin ...
3 years, 9 months ago (2017-03-21 17:59:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2765903003/1
3 years, 9 months ago (2017-03-21 18:38:41 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 19:10:10 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2d163839906a68671aea3291a760...

Powered by Google App Engine
This is Rietveld 408576698