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

Issue 2159093002: Clear provisional item on all server redirects. (Closed)

Created:
4 years, 5 months ago by Charlie Reis
Modified:
4 years, 5 months ago
Reviewers:
clamy, Nate Chapin, nasko
CC:
chromium-reviews, tyoshino+watch_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, loading-reviews_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, Nate Chapin, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear provisional item on all server redirects. Whether a redirect is cross-origin or not, the result will be a new document and should not reuse the provisional HistoryItem during a back/forward navigation. BUG=585194 TBR=clamy TEST=http/tests/navigation/back-to-redirect-with-frame.php in --isolate-sites-for-testing mode. Committed: https://crrev.com/235cc0c8888421ab2c621bac62bd3a2bc6297d05 Cr-Commit-Position: refs/heads/master@{#406861}

Patch Set 1 #

Patch Set 2 : Re-enable layout test. #

Patch Set 3 : Add browser test. #

Total comments: 3

Patch Set 4 : Remove conditional. #

Total comments: 8

Patch Set 5 : Fix Nasko's comments #

Patch Set 6 : Disable test for PlzNavigate. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -4 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 1 chunk +124 lines, -0 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/isolate-extensions View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (31 generated)
Charlie Reis
Nate, can you review the fix in FrameLoader.cpp? It affects your fix for https://crbug.com/500554 (https://codereview.chromium.org/1175113009/), ...
4 years, 5 months ago (2016-07-20 17:38:23 UTC) #12
Nate Chapin
I don't remember why I limited it to cross-origin, either. If the tests are happy, ...
4 years, 5 months ago (2016-07-20 17:42:28 UTC) #13
Charlie Reis
Thanks! https://codereview.chromium.org/2159093002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/2159093002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp#newcode362 third_party/WebKit/Source/core/loader/FrameLoader.cpp:362: if (m_provisionalItem) On 2016/07/20 17:42:27, Nate Chapin wrote: ...
4 years, 5 months ago (2016-07-20 18:03:22 UTC) #14
nasko
LGTM with a few nits. https://codereview.chromium.org/2159093002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2159093002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode3188 content/browser/frame_host/navigation_controller_impl_browsertest.cc:3188: GURL blank_url(url::kAboutBlankURL); nit: This ...
4 years, 5 months ago (2016-07-20 18:16:39 UTC) #17
Charlie Reis
Thanks! https://codereview.chromium.org/2159093002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2159093002/diff/60001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode3188 content/browser/frame_host/navigation_controller_impl_browsertest.cc:3188: GURL blank_url(url::kAboutBlankURL); On 2016/07/20 18:16:39, nasko wrote: > ...
4 years, 5 months ago (2016-07-20 19:35:08 UTC) #18
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/2159093002/80001
4 years, 5 months ago (2016-07-20 19:35:49 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/266036)
4 years, 5 months ago (2016-07-20 20:57:52 UTC) #23
Charlie Reis
TBR'ing clamy@ for disabling the new test in PlzNavigate, as we did for https://codereview.chromium.org/2136873002/. We'll ...
4 years, 5 months ago (2016-07-20 21:10:14 UTC) #26
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/2159093002/100001
4 years, 5 months ago (2016-07-20 21:10:59 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/204631)
4 years, 5 months ago (2016-07-20 21:13:38 UTC) #31
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/2159093002/100001
4 years, 5 months ago (2016-07-20 21:29:54 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/263495)
4 years, 5 months ago (2016-07-20 23:16:07 UTC) #35
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/2159093002/100001
4 years, 5 months ago (2016-07-20 23:21:36 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/259285)
4 years, 5 months ago (2016-07-21 00:59:56 UTC) #39
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/2159093002/100001
4 years, 5 months ago (2016-07-21 04:57:27 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/263748)
4 years, 5 months ago (2016-07-21 06:32:49 UTC) #44
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/2159093002/100001
4 years, 5 months ago (2016-07-21 14:43:03 UTC) #46
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-21 15:44:15 UTC) #48
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 15:45:55 UTC) #50
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/235cc0c8888421ab2c621bac62bd3a2bc6297d05
Cr-Commit-Position: refs/heads/master@{#406861}

Powered by Google App Engine
This is Rietveld 408576698