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

Issue 2751793002: Cleaned up old navigation code that did not use pending navigation item. (Closed)

Created:
3 years, 9 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, Eugene But (OOO till 7-30), pkl (ping after 24h if needed), ios-reviews+web_chromium.org, noyau+watch_chromium.org, arv+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleaned up old navigation code that did not use pending navigation item. Also removed PendingIndexNavigationDisabled experimental setting. BUG=692331, 701717 TEST=Back forward navigation works correctly. Review-Url: https://codereview.chromium.org/2751793002 Cr-Commit-Position: refs/heads/master@{#457459} Committed: https://chromium.googlesource.com/chromium/src/+/2feaa058530953a2232e6128e16deb31192ad9d2

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed review comments #

Patch Set 3 : Removed test #

Total comments: 2

Patch Set 4 : Moar DCHECKs #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -305 lines) Patch
M ios/chrome/browser/experimental_flags.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ios/chrome/browser/experimental_flags.mm View 2 chunks +0 lines, -7 lines 0 comments Download
M ios/chrome/browser/resources/Settings.bundle/Experimental.plist View 1 chunk +0 lines, -10 lines 0 comments Download
M ios/chrome/browser/tabs/tab.mm View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M ios/chrome/browser/web/visible_url_egtest.mm View 11 chunks +0 lines, -42 lines 0 comments Download
M ios/web/interstitials/web_interstitial_impl.mm View 1 chunk +1 line, -8 lines 0 comments Download
M ios/web/public/web_state/ui/crw_web_delegate.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 8 chunks +44 lines, -160 lines 1 comment Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 1 2 2 chunks +0 lines, -68 lines 0 comments Download

Messages

Total messages: 36 (27 generated)
Eugene But (OOO till 7-30)
3 years, 9 months ago (2017-03-15 18:31:54 UTC) #8
kkhorimoto
https://codereview.chromium.org/2751793002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (left): https://codereview.chromium.org/2751793002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#oldcode1870 ios/web/web_state/ui/crw_web_controller.mm:1870: DCHECK(!params.post_data); Removing this changes behavior, as in the new ...
3 years, 9 months ago (2017-03-15 18:50:30 UTC) #10
Eugene But (OOO till 7-30)
Thanks! PTAL https://codereview.chromium.org/2751793002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (left): https://codereview.chromium.org/2751793002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#oldcode1870 ios/web/web_state/ui/crw_web_controller.mm:1870: DCHECK(!params.post_data); On 2017/03/15 18:50:30, kkhorimoto_ wrote: > ...
3 years, 9 months ago (2017-03-16 00:52:23 UTC) #19
kkhorimoto
lgtm https://codereview.chromium.org/2751793002/diff/40001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2751793002/diff/40001/ios/web/web_state/ui/crw_web_controller.mm#newcode1804 ios/web/web_state/ui/crw_web_controller.mm:1804: DCHECK(!(transition & ui::PAGE_TRANSITION_FORWARD_BACK)); Can we also include the ...
3 years, 9 months ago (2017-03-16 01:08:09 UTC) #22
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2751793002/diff/40001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2751793002/diff/40001/ios/web/web_state/ui/crw_web_controller.mm#newcode1804 ios/web/web_state/ui/crw_web_controller.mm:1804: DCHECK(!(transition & ui::PAGE_TRANSITION_FORWARD_BACK)); On 2017/03/16 01:08:09, kkhorimoto_ wrote: > ...
3 years, 9 months ago (2017-03-16 16:46:42 UTC) #27
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/2751793002/60001
3 years, 9 months ago (2017-03-16 16:47:22 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/2feaa058530953a2232e6128e16deb31192ad9d2
3 years, 9 months ago (2017-03-16 16:56:09 UTC) #33
rohitrao (ping after 24h)
https://codereview.chromium.org/2751793002/diff/60001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2751793002/diff/60001/ios/web/web_state/ui/crw_web_controller.mm#newcode1805 ios/web/web_state/ui/crw_web_controller.mm:1805: DCHECK(!(transition & ui::PAGE_TRANSITION_RELOAD)); Looks like this DCHECK is firing ...
3 years, 9 months ago (2017-03-16 19:36:54 UTC) #35
rohitrao (ping after 24h)
3 years, 9 months ago (2017-03-16 19:37:41 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2759483002/ by rohitrao@chromium.org.

The reason for reverting is: testReloadInterstitial is failing on an internal
bot.  For an example, see build 4404 on the internal iphone10-simulator bot..

Powered by Google App Engine
This is Rietveld 408576698