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

Issue 5766003: Temporarily avoid process swaps for renderer navigations away from an app. (Closed)

Created:
10 years ago by Charlie Reis
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org, ben+cc_chromium.org, Erik does not do reviews, Aaron Boodman, pam+watch_chromium.org, Paweł Hajdan Jr., Matt Perry
Visibility:
Public.

Description

Temporarily avoid process swaps for renderer navigations away from an app. BUG=65953 BUG=59285 TEST=AppApiTest.AppProcess Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69338

Patch Set 1 #

Patch Set 2 : Add/update test #

Patch Set 3 : Only swap for non-app URLs #

Total comments: 8

Patch Set 4 : Don't check for window.opener #

Patch Set 5 : Remove unnecessary RenderThread check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -8 lines) Patch
M chrome/browser/extensions/app_process_apitest.cc View 1 2 3 2 chunks +21 lines, -2 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 2 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Charlie Reis
For the sake of discussion, here's a potential workaround for the window.opener problem affecting OAuth-style ...
10 years ago (2010-12-13 20:08:37 UTC) #1
Charlie Reis
Here's a version closer to what we've been discussing. It only swaps processes on renderer ...
10 years ago (2010-12-14 00:40:02 UTC) #2
darin (slow to review)
http://codereview.chromium.org/5766003/diff/5001/chrome/renderer/render_view.cc File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/5766003/diff/5001/chrome/renderer/render_view.cc#newcode396 chrome/renderer/render_view.cc:396: if (!RenderThread::current()) what is the purpose of this null ...
10 years ago (2010-12-14 17:17:40 UTC) #3
Charlie Reis
Here's a simpler CL that doesn't check for window.opener anymore, as we discussed. CrossesExtensionExtents was ...
10 years ago (2010-12-14 18:52:29 UTC) #4
Charlie Reis
I checked with Matt and it's likely the RenderThread check isn't necessary. (It's usually helpful ...
10 years ago (2010-12-15 19:43:20 UTC) #5
darin (slow to review)
10 years ago (2010-12-15 20:55:19 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698