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

Issue 2931833004: Always set the navigation pending item for page reload. (Closed)

Created:
3 years, 6 months ago by mrefaat
Modified:
3 years, 5 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Always set the navigation pending item for page reload. Set the pendingItemIndex to the last committed item in case of page reload and on the case of application open/tab out of memory reopened. This doesn't solve the PendingItem being null problem entirely there are still couple cases when that can happen and they are not page reloads. CL 1/2 BUG=676129 Review-Url: https://codereview.chromium.org/2931833004 Cr-Commit-Position: refs/heads/master@{#486777} Committed: https://chromium.googlesource.com/chromium/src/+/bc2e0a45e23c739bb3c04d119d43abbb01398289

Patch Set 1 : Initial #

Patch Set 2 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into pendingItem2 #

Patch Set 3 : only reload cases #

Total comments: 16

Patch Set 4 : comments #

Patch Set 5 : only ios web #

Patch Set 6 : move transietItem to different CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -17 lines) Patch
M ios/web/web_state/navigation_callbacks_inttest.mm View 1 2 3 4 2 chunks +5 lines, -12 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 3 chunks +21 lines, -5 lines 0 comments Download

Messages

Total messages: 42 (26 generated)
mrefaat
3 years, 6 months ago (2017-06-14 22:29:18 UTC) #6
kkhorimoto
https://codereview.chromium.org/2931833004/diff/100001/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm File ios/chrome/browser/reading_list/reading_list_web_state_observer.mm (left): https://codereview.chromium.org/2931833004/diff/100001/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm#oldcode253 ios/chrome/browser/reading_list/reading_list_web_state_observer.mm:253: } You're removing this fallback here, but not above. ...
3 years, 6 months ago (2017-06-14 22:48:26 UTC) #8
Eugene But (OOO till 7-30)
Could you please move changes in chrome layer to separate CLs. If they introduce regressions, ...
3 years, 6 months ago (2017-06-15 00:08:11 UTC) #9
mrefaat
I'm not sure i understand the reason for moving the chrome changes to different CL, ...
3 years, 6 months ago (2017-06-15 18:35:35 UTC) #10
Eugene But (OOO till 7-30)
lgtm! Thanks for fixing this. The reason for split is to make small independent CLs, ...
3 years, 6 months ago (2017-06-16 03:25:46 UTC) #12
kkhorimoto
lgtm. +1 to splitting up the CL
3 years, 6 months ago (2017-06-16 18:13:45 UTC) #13
mrefaat
On 2017/06/16 03:25:46, Eugene But wrote: > lgtm! Thanks for fixing this. > > The ...
3 years, 6 months ago (2017-06-16 19:27:54 UTC) #14
mrefaat
https://codereview.chromium.org/2931833004/diff/100001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2931833004/diff/100001/ios/web/web_state/ui/crw_web_controller.mm#newcode2046 ios/web/web_state/ui/crw_web_controller.mm:2046: self.sessionController.pendingItemIndex = On 2017/06/16 03:25:46, Eugene But wrote: > ...
3 years, 6 months ago (2017-06-16 19:28:04 UTC) #15
Eugene But (OOO till 7-30)
This CL removes fallback to last committed item in a few places. Every place can ...
3 years, 6 months ago (2017-06-17 02:57:14 UTC) #16
mrefaat
https://codereview.chromium.org/2931833004/diff/100001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2931833004/diff/100001/ios/web/web_state/ui/crw_web_controller.mm#newcode2046 ios/web/web_state/ui/crw_web_controller.mm:2046: self.sessionController.pendingItemIndex = On 2017/06/17 02:57:14, Eugene But wrote: > ...
3 years, 6 months ago (2017-06-17 11:33:08 UTC) #17
Eugene But (OOO till 7-30)
On 2017/06/17 11:33:08, mrefaat wrote: > https://codereview.chromium.org/2931833004/diff/100001/ios/web/web_state/ui/crw_web_controller.mm > File ios/web/web_state/ui/crw_web_controller.mm (right): > > https://codereview.chromium.org/2931833004/diff/100001/ios/web/web_state/ui/crw_web_controller.mm#newcode2046 > ...
3 years, 6 months ago (2017-06-19 14:24:46 UTC) #18
mrefaat
updated with changes for ios web only
3 years, 5 months ago (2017-07-13 16:00:46 UTC) #19
Eugene But (OOO till 7-30)
Thanks!
3 years, 5 months ago (2017-07-13 17:38:28 UTC) #25
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/2931833004/220001
3 years, 5 months ago (2017-07-14 16:34:34 UTC) #38
commit-bot: I haz the power
Committed patchset #6 (id:220001) as https://chromium.googlesource.com/chromium/src/+/bc2e0a45e23c739bb3c04d119d43abbb01398289
3 years, 5 months ago (2017-07-14 16:38:18 UTC) #41
mrefaat
3 years, 4 months ago (2017-08-04 18:45:34 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:220001) has been created in
https://codereview.chromium.org/2998463002/ by mrefaat@chromium.org.

The reason for reverting is: introduced crbug/750775.

Powered by Google App Engine
This is Rietveld 408576698