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

Issue 2808353007: Remove invalid DCHECK in [CRWSessionController addPendingItem]. (Closed)

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

Description

Remove invalid DCHECK in [CRWSessionController addPendingItem]. The DCHCECK that server side redirect should not be added as a new item is invalid in the following scenario: (1) Navigate to an AMP (Accelerate Mobile Page) -- I do this from news.google.fr (2) Shutdown Chrome on iOS (i.e. switch to another app, then kill the app) (3) Relaunch Chrome on iOS When Chrome is relaunched, there will be no pending items and somehow a server side redirect is fired, so a server side redirect item is added to the chain. This CL removes the DCHECK. BUG=710385 Review-Url: https://codereview.chromium.org/2808353007 Cr-Commit-Position: refs/heads/master@{#464310} Committed: https://chromium.googlesource.com/chromium/src/+/a4eb8e01f972546913b22a605e31bd22c270cfe8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -4 lines) Patch
M ios/web/navigation/crw_session_controller.mm View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
liaoyuke
Hey Eugene, Kurt PTAL. Thank you very much!
3 years, 8 months ago (2017-04-12 22:14:08 UTC) #3
Eugene But (OOO till 7-30)
Please update CL description to explain why this DCHECK is invalid (on restore there is ...
3 years, 8 months ago (2017-04-13 00:27:12 UTC) #4
kkhorimoto
lgtm
3 years, 8 months ago (2017-04-13 01:18:24 UTC) #5
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/2808353007/1
3 years, 8 months ago (2017-04-13 05:14:59 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 05:39:48 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a4eb8e01f972546913b22a605e31...

Powered by Google App Engine
This is Rietveld 408576698