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

Issue 906283003: PlzNavigate: Support data urls (Closed)

Created:
5 years, 10 months ago by clamy
Modified:
5 years, 9 months ago
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, lfg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Support data urls This CL adds support for navigating to data urls in browser-side navigation mode. This is a prerequisite to showing error pages when browser-side navigation is enabled. BUG=459033 Committed: https://crrev.com/4cc9b820607cfd1a4c41ee34050b81f4e24a99a4 Cr-Commit-Position: refs/heads/master@{#318686}

Patch Set 1 #

Patch Set 2 : #

Total comments: 19

Patch Set 3 : Rebase #

Patch Set 4 : Addressed comments #

Total comments: 13

Patch Set 5 : Rebase #

Patch Set 6 : Addressed Charlie's comments #

Total comments: 13

Patch Set 7 : Rebase #

Patch Set 8 : Addressed comments #

Patch Set 9 : Rebase + change to unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -55 lines) Patch
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request.h View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 6 7 3 chunks +24 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 4 chunks +17 lines, -16 lines 0 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 2 chunks +2 lines, -8 lines 0 comments Download
M content/common/navigation_params.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -1 line 0 comments Download
M content/common/navigation_params.cc View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +28 lines, -16 lines 0 comments Download

Messages

Total messages: 29 (9 generated)
clamy
@creis, carlosk: PTAL @fdegans: FYI This CL enables loading data urls with PlzNavigate enabled. This ...
5 years, 10 months ago (2015-02-16 18:00:44 UTC) #3
carlosk
Looks good; just a few minor comments. And the CR extension seems to be reporting ...
5 years, 10 months ago (2015-02-17 12:35:09 UTC) #4
clamy
Thanks! Yes I will need a security review for frame_messages (from Nasko I guess but ...
5 years, 10 months ago (2015-02-17 12:54:29 UTC) #5
carlosk
LGTM. https://codereview.chromium.org/906283003/diff/40001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/906283003/diff/40001/content/browser/frame_host/navigation_request.cc#newcode182 content/browser/frame_host/navigation_request.cc:182: frame_tree_node_->navigator()->CommitNavigation( On 2015/02/17 12:54:28, clamy wrote: > On ...
5 years, 10 months ago (2015-02-17 14:11:23 UTC) #6
Charlie Reis
[+lfg to CC, since he worked on cross-process data URL navigations] It's not clear to ...
5 years, 10 months ago (2015-02-18 00:43:25 UTC) #7
carlosk
https://codereview.chromium.org/906283003/diff/40001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/906283003/diff/40001/content/browser/frame_host/navigation_request.cc#newcode182 content/browser/frame_host/navigation_request.cc:182: frame_tree_node_->navigator()->CommitNavigation( On 2015/02/18 00:43:25, Charlie Reis wrote: > On ...
5 years, 10 months ago (2015-02-18 15:45:08 UTC) #8
clamy
Thanks! I uploaded a new patchset where we do go to the browser for data ...
5 years, 10 months ago (2015-02-20 17:05:59 UTC) #10
Charlie Reis
Thanks, that looks better to me. Just a few more comments. https://codereview.chromium.org/906283003/diff/80001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): ...
5 years, 10 months ago (2015-02-20 22:11:50 UTC) #11
carlosk
https://codereview.chromium.org/906283003/diff/80001/content/browser/frame_host/navigator_impl_unittest.cc File content/browser/frame_host/navigator_impl_unittest.cc (right): https://codereview.chromium.org/906283003/diff/80001/content/browser/frame_host/navigator_impl_unittest.cc#newcode968 content/browser/frame_host/navigator_impl_unittest.cc:968: ASSERT_TRUE(speculative_rfh); On 2015/02/20 22:11:50, Charlie Reis wrote: > Why ...
5 years, 10 months ago (2015-02-23 10:50:29 UTC) #12
clamy
Thanks! The latest patch set should have addressed most comments, except the test one as ...
5 years, 10 months ago (2015-02-26 15:28:36 UTC) #14
nasko
The IPC changes look good. I've added a few comments of mine and I'll stamp ...
5 years, 9 months ago (2015-02-26 17:35:24 UTC) #15
Charlie Reis
Thanks Nasko. A few questions below, and it looks like there's a compile error in ...
5 years, 9 months ago (2015-02-26 20:49:01 UTC) #16
clamy
Thanks! https://codereview.chromium.org/906283003/diff/120001/content/browser/frame_host/navigation_entry_impl.cc File content/browser/frame_host/navigation_entry_impl.cc (right): https://codereview.chromium.org/906283003/diff/120001/content/browser/frame_host/navigation_entry_impl.cc#newcode355 content/browser/frame_host/navigation_entry_impl.cc:355: return GetBaseURLForDataURL().is_empty()? GURL() : GetVirtualURL(); On 2015/02/26 17:35:24, ...
5 years, 9 months ago (2015-02-27 12:54:00 UTC) #17
Charlie Reis
Thanks, LGTM.
5 years, 9 months ago (2015-02-27 23:46:56 UTC) #18
nasko
LGTM
5 years, 9 months ago (2015-02-28 00:15:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/906283003/160001
5 years, 9 months ago (2015-03-02 09:20:46 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/39902)
5 years, 9 months ago (2015-03-02 11:04:48 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/906283003/180001
5 years, 9 months ago (2015-03-02 12:58:17 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:180001)
5 years, 9 months ago (2015-03-02 13:51:45 UTC) #28
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 13:52:32 UTC) #29
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/4cc9b820607cfd1a4c41ee34050b81f4e24a99a4
Cr-Commit-Position: refs/heads/master@{#318686}

Powered by Google App Engine
This is Rietveld 408576698