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

Issue 2397623002: Don't allow link navigations for invalid URLs. (Closed)

Created:
4 years, 2 months ago by kkhorimoto
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't allow link navigations for invalid URLs. This CL cancels navigation actions for invalid URLs, loading about:blank instead. This matches the behavior in content/. BUG=627581, 651854 Committed: https://crrev.com/8ad7f5ffc393f808323dd1d286cc00cc82161fc0 Cr-Commit-Position: refs/heads/master@{#423085}

Patch Set 1 #

Total comments: 4

Patch Set 2 : kAboutBlankURL #

Patch Set 3 : compilation fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
kkhorimoto
4 years, 2 months ago (2016-10-05 00:54:49 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2397623002/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/2397623002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode4970 ios/web/web_state/ui/crw_web_controller.mm:4970: if (!requestURL.is_valid()) { What |requestURL.is_valid()| would return for "about:blank" ...
4 years, 2 months ago (2016-10-05 00:58:40 UTC) #3
kkhorimoto
https://codereview.chromium.org/2397623002/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/2397623002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode4970 ios/web/web_state/ui/crw_web_controller.mm:4970: if (!requestURL.is_valid()) { On 2016/10/05 00:58:39, Eugene But wrote: ...
4 years, 2 months ago (2016-10-05 01:16:26 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2397623002/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/2397623002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode4972 ios/web/web_state/ui/crw_web_controller.mm:4972: web::NavigationManager::WebLoadParams loadParams(GURL("about:blank")); s/"about:blank"/kAboutBlankURL
4 years, 2 months ago (2016-10-05 01:41:45 UTC) #5
kkhorimoto
https://codereview.chromium.org/2397623002/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/2397623002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode4972 ios/web/web_state/ui/crw_web_controller.mm:4972: web::NavigationManager::WebLoadParams loadParams(GURL("about:blank")); On 2016/10/05 01:41:44, Eugene But wrote: > ...
4 years, 2 months ago (2016-10-05 04:09:19 UTC) #6
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/2397623002/20001
4 years, 2 months ago (2016-10-05 04:09:58 UTC) #10
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/2397623002/20001
4 years, 2 months ago (2016-10-05 05:42:26 UTC) #16
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/2397623002/20001
4 years, 2 months ago (2016-10-05 05:47:40 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/81018)
4 years, 2 months ago (2016-10-05 05:55:16 UTC) #22
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/2397623002/40001
4 years, 2 months ago (2016-10-05 06:02:23 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-05 06:11:21 UTC) #27
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 06:12:54 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8ad7f5ffc393f808323dd1d286cc00cc82161fc0
Cr-Commit-Position: refs/heads/master@{#423085}

Powered by Google App Engine
This is Rietveld 408576698