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

Issue 1802383004: Fix in-page navigation after LoadDataWithBaseURL (Closed)

Created:
4 years, 9 months ago by boliu
Modified:
4 years, 9 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix in-page navigation after LoadDataWithBaseURL This is a follow up fix to r361481. After r361481 additional info about a LoadDataWithBaseURL is stored in DocumentState. However, if there is an in-page fragment navigation, this additional info is just thrown away, causing incorrect behavior. Fix this by not updating this additional info for in-page navigations. Note this is NOT a fix for crbug.com/561034, which describes a similar problem, but on the browser side. BUG=594611 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/ac512fd1188a7bd1e1e752bd46990acd72b6bdb6 Cr-Commit-Position: refs/heads/master@{#381588}

Patch Set 1 #

Patch Set 2 : browser test #

Total comments: 7

Patch Set 3 : review #

Patch Set 4 : test expectations #

Patch Set 5 : Fix test for LoadDataAsStringWithBaseURL on android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -10 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 4 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1802383004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1802383004/20001
4 years, 9 months ago (2016-03-16 00:07:59 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-16 01:58:50 UTC) #7
boliu
PTAL I think the crash stack in the bug plus the test should be enough ...
4 years, 9 months ago (2016-03-16 02:11:11 UTC) #9
boliu
On 2016/03/16 02:11:11, boliu wrote: > PTAL > > I think the crash stack in ...
4 years, 9 months ago (2016-03-16 18:36:55 UTC) #10
Charlie Reis
Sigh. This feature continues to be a source of fun, eh? :) So avoiding the ...
4 years, 9 months ago (2016-03-16 19:30:34 UTC) #11
boliu
On 2016/03/16 19:30:34, Charlie Reis wrote: > Sigh. This feature continues to be a source ...
4 years, 9 months ago (2016-03-16 20:18:21 UTC) #12
boliu
https://codereview.chromium.org/1802383004/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/1802383004/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode232 content/browser/frame_host/navigation_controller_impl_browsertest.cc:232: EXPECT_EQ(2, controller.GetEntryCount()); On 2016/03/16 20:18:21, boliu wrote: > On ...
4 years, 9 months ago (2016-03-16 20:26:07 UTC) #13
boliu
https://codereview.chromium.org/1802383004/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/1802383004/diff/20001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode232 content/browser/frame_host/navigation_controller_impl_browsertest.cc:232: EXPECT_EQ(2, controller.GetEntryCount()); On 2016/03/16 20:26:07, boliu wrote: > On ...
4 years, 9 months ago (2016-03-16 20:38:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1802383004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1802383004/60001
4 years, 9 months ago (2016-03-16 20:40:31 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1802383004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1802383004/80001
4 years, 9 months ago (2016-03-16 22:08:25 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-16 23:33:47 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 23:35:09 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ac512fd1188a7bd1e1e752bd46990acd72b6bdb6
Cr-Commit-Position: refs/heads/master@{#381588}

Powered by Google App Engine
This is Rietveld 408576698