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

Issue 743773003: OOPIF: Data URLs are now rendered in the renderer that initiated the navigation. (Closed)

Created:
6 years, 1 month ago by lfg
Modified:
6 years ago
Reviewers:
Charlie Reis, sky, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

OOPIF: Data URLs are now rendered in the renderer that initiated the navigation. BUG=433014 Committed: https://crrev.com/9ef7d2d3f6122d74e3bbba893dc14ca83cffaa78 Cr-Commit-Position: refs/heads/master@{#308445}

Patch Set 1 #

Patch Set 2 : Fix test. #

Total comments: 11

Patch Set 3 : implementing the change on the renderer #

Patch Set 4 : cleaning up, adding tests #

Patch Set 5 : #

Total comments: 31

Patch Set 6 : #

Total comments: 10

Patch Set 7 : #

Patch Set 8 : #

Total comments: 38

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Total comments: 2

Patch Set 12 : Improving comments. #

Patch Set 13 : fixing android compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -96 lines) Patch
M chrome/browser/ui/browser_navigator.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 3 chunks +13 lines, -16 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -12 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +26 lines, -19 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 14 chunks +34 lines, -35 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +24 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_proxy_host.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/security_exploit_browsertest.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +104 lines, -2 lines 0 comments Download
M content/public/browser/navigation_controller.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/browser/page_navigator.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M content/shell/browser/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/test/data/click-noreferrer-links.html View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (4 generated)
lfg
Hey Charlie, PTAL. I went with the swap policy decision happening on the browser process, ...
6 years, 1 month ago (2014-11-19 23:23:49 UTC) #2
Charlie Reis
[+nasko,site-isolation-reviews@chromium.org] Thanks for looking at this, and finding a way to get it to work! ...
6 years, 1 month ago (2014-11-20 19:58:43 UTC) #4
lfg
Hey Charlie, I've implemented the policy on the renderer side. I had to rebase against ...
6 years ago (2014-12-02 01:03:15 UTC) #5
Charlie Reis
On 2014/12/02 01:03:15, lfg wrote: > Hey Charlie, I've implemented the policy on the renderer ...
6 years ago (2014-12-02 22:47:42 UTC) #6
lfg
PTAL. There's one thing I'm not sure is if we need to do something about ...
6 years ago (2014-12-05 21:55:42 UTC) #7
Charlie Reis
Thanks! I think this general approach will probably work. Another round of comments below. https://codereview.chromium.org/743773003/diff/80001/chrome/browser/ui/browser_navigator.h ...
6 years ago (2014-12-06 00:18:51 UTC) #8
lfg
I've made most of the changes suggested. The EXPECT_TRUE in the browsertest was broken the ...
6 years ago (2014-12-08 20:45:33 UTC) #9
Charlie Reis
Great. A few nits and two thoughts on the test code. Also, it occurred to ...
6 years ago (2014-12-09 19:14:38 UTC) #10
lfg
Instead of adding a new test, I modified NoScriptAccessAfterSwapOut to navigate to a blank frame ...
6 years ago (2014-12-10 21:53:00 UTC) #11
Charlie Reis
On 2014/12/10 21:53:00, lfg wrote: > Instead of adding a new test, I modified NoScriptAccessAfterSwapOut ...
6 years ago (2014-12-11 00:43:39 UTC) #12
nasko
> (Alternatively, Nasko, what would you think about adding a version of > NavigateFrameToURL that ...
6 years ago (2014-12-11 01:14:44 UTC) #13
lfg
So, I tried two different approaches to try to fix the tests, and both failed. ...
6 years ago (2014-12-11 23:55:25 UTC) #14
Charlie Reis
Ok, after more digging I think we'll probably want to fix http://crbug.com/441863 to make the ...
6 years ago (2014-12-12 20:19:22 UTC) #15
lfg
https://codereview.chromium.org/743773003/diff/170001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/743773003/diff/170001/content/browser/site_per_process_browsertest.cc#newcode878 content/browser/site_per_process_browsertest.cc:878: // and classified the navigation as MANUAL_SUBFRAME or if ...
6 years ago (2014-12-12 21:54:08 UTC) #16
lfg
sky@chromium.org: Please review changes in chrome/browser/ui/browser_navigator.{h,cc}
6 years ago (2014-12-12 21:54:53 UTC) #18
sky
https://codereview.chromium.org/743773003/diff/190001/chrome/browser/ui/browser_navigator.h File chrome/browser/ui/browser_navigator.h (right): https://codereview.chromium.org/743773003/diff/190001/chrome/browser/ui/browser_navigator.h#newcode71 chrome/browser/ui/browser_navigator.h:71: scoped_refptr<content::SiteInstance> source_site_instance; You need to improve this description. Is ...
6 years ago (2014-12-13 00:08:57 UTC) #19
lfg
https://codereview.chromium.org/743773003/diff/190001/chrome/browser/ui/browser_navigator.h File chrome/browser/ui/browser_navigator.h (right): https://codereview.chromium.org/743773003/diff/190001/chrome/browser/ui/browser_navigator.h#newcode71 chrome/browser/ui/browser_navigator.h:71: scoped_refptr<content::SiteInstance> source_site_instance; On 2014/12/13 00:08:57, sky wrote: > You ...
6 years ago (2014-12-15 20:24:34 UTC) #20
sky
LGTM
6 years ago (2014-12-15 20:52:03 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/743773003/230001
6 years ago (2014-12-15 22:27:31 UTC) #23
commit-bot: I haz the power
Committed patchset #13 (id:230001)
6 years ago (2014-12-15 22:32:48 UTC) #24
commit-bot: I haz the power
6 years ago (2014-12-15 22:34:05 UTC) #25
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/9ef7d2d3f6122d74e3bbba893dc14ca83cffaa78
Cr-Commit-Position: refs/heads/master@{#308445}

Powered by Google App Engine
This is Rietveld 408576698