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

Issue 2738643002: Implement error page commit policy in PlzNavigate. (Closed)

Created:
3 years, 9 months ago by nasko
Modified:
3 years, 9 months ago
Reviewers:
clamy, Charlie Reis, Devlin
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, alexmos, arthursonzogni
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement error page commit policy in PlzNavigate. This CL implements a new policy for which process do error pages commit. When an error page is a result of a blocked request, it should be committed in the same process as the document requesting the navigation. Otherwise the error page should be committed in the process that would render the destination URL. BUG=685074 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2738643002 Cr-Commit-Position: refs/heads/master@{#457532} Committed: https://chromium.googlesource.com/chromium/src/+/f198985c0ffa2f7c4d75e001b14d2ac8c9300ae9

Patch Set 1 #

Total comments: 9

Patch Set 2 : Fixes based on Charlie's review, also reordering a failing test case ... sigh! #

Patch Set 3 : Fix from https://codereview.chromium.org/2739193004/ #

Patch Set 4 : Fix with reordered webRequestBlocking test cases. #

Patch Set 5 : Rebase #

Total comments: 2

Patch Set 6 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -37 lines) Patch
M chrome/test/data/extensions/api_test/webrequest/test_blocking.js View 1 2 3 4 5 2 chunks +37 lines, -34 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl_browsertest.cc View 1 2 3 4 3 chunks +84 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 1 chunk +17 lines, -3 lines 0 comments Download

Messages

Total messages: 41 (25 generated)
nasko
Hey everyone, This CL implements the error page commit policy we discussed today with creis@ ...
3 years, 9 months ago (2017-03-07 03:03:16 UTC) #3
nasko
https://codereview.chromium.org/2738643002/diff/1/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2738643002/diff/1/content/browser/frame_host/navigation_request.cc#newcode583 content/browser/frame_host/navigation_request.cc:583: if (net_error == net::ERR_BLOCKED_BY_CLIENT) { It turns out that ...
3 years, 9 months ago (2017-03-07 07:08:12 UTC) #8
Charlie Reis
Thanks! https://codereview.chromium.org/2738643002/diff/1/content/browser/frame_host/navigation_handle_impl_browsertest.cc File content/browser/frame_host/navigation_handle_impl_browsertest.cc (right): https://codereview.chromium.org/2738643002/diff/1/content/browser/frame_host/navigation_handle_impl_browsertest.cc#newcode1092 content/browser/frame_host/navigation_handle_impl_browsertest.cc:1092: SiteInstance* site_instance = scoped_refptr would be safer (since ...
3 years, 9 months ago (2017-03-09 00:43:34 UTC) #9
nasko
Just a quick update without any changes to code. On 2017/03/09 00:43:34, Charlie Reis (OOO ...
3 years, 9 months ago (2017-03-09 00:58:55 UTC) #10
nasko
Fixes based on Charlie's review, also reordering a failing test case ... sigh!
3 years, 9 months ago (2017-03-09 07:23:20 UTC) #11
nasko
https://codereview.chromium.org/2738643002/diff/1/content/browser/frame_host/navigation_handle_impl_browsertest.cc File content/browser/frame_host/navigation_handle_impl_browsertest.cc (right): https://codereview.chromium.org/2738643002/diff/1/content/browser/frame_host/navigation_handle_impl_browsertest.cc#newcode1092 content/browser/frame_host/navigation_handle_impl_browsertest.cc:1092: SiteInstance* site_instance = On 2017/03/09 00:43:34, Charlie Reis (OOO ...
3 years, 9 months ago (2017-03-09 07:24:09 UTC) #12
nasko
Adding rdevlin.cronin@ for extensions API test changes.
3 years, 9 months ago (2017-03-09 07:24:54 UTC) #14
Charlie Reis
content/ LGTM! I'll defer to Devlin on the extension test.
3 years, 9 months ago (2017-03-09 18:06:57 UTC) #19
Devlin
On 2017/03/09 07:24:54, nasko (slow) wrote: > Adding rdevlin.cronin@ for extensions API test changes. Just ...
3 years, 9 months ago (2017-03-09 23:12:37 UTC) #20
nasko
On 2017/03/09 23:12:37, Devlin wrote: > On 2017/03/09 07:24:54, nasko (slow) wrote: > > Adding ...
3 years, 9 months ago (2017-03-09 23:51:37 UTC) #21
nasko
On 2017/03/09 23:51:37, nasko (slow) wrote: > On 2017/03/09 23:12:37, Devlin wrote: > > On ...
3 years, 9 months ago (2017-03-11 01:14:42 UTC) #24
nasko
I have tried to fix the underlying issue, but it proves to be non-trivial and ...
3 years, 9 months ago (2017-03-16 18:02:56 UTC) #33
Devlin
On 2017/03/16 18:02:56, nasko (slow) wrote: > I have tried to fix the underlying issue, ...
3 years, 9 months ago (2017-03-16 18:38:14 UTC) #34
nasko
https://codereview.chromium.org/2738643002/diff/80001/chrome/test/data/extensions/api_test/webrequest/test_blocking.js File chrome/test/data/extensions/api_test/webrequest/test_blocking.js (right): https://codereview.chromium.org/2738643002/diff/80001/chrome/test/data/extensions/api_test/webrequest/test_blocking.js#newcode96 chrome/test/data/extensions/api_test/webrequest/test_blocking.js:96: // see the subresources. On 2017/03/16 18:38:14, Devlin wrote: ...
3 years, 9 months ago (2017-03-16 18:47:49 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/2738643002/100001
3 years, 9 months ago (2017-03-16 18:49:08 UTC) #38
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 20:11:09 UTC) #41
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/f198985c0ffa2f7c4d75e001b14d...

Powered by Google App Engine
This is Rietveld 408576698