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

Issue 209153003: In --site-per-process, don't try to call beforeunload on subframes yet. (Closed)

Created:
6 years, 9 months ago by Charlie Reis
Modified:
5 years, 4 months ago
Reviewers:
nasko
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

In --site-per-process, don't try to call beforeunload on subframes yet. Also update SitePerProcessBrowserTest to allow browser-initiated subframe navigations. BUG=304341 TEST=Click a link in an OOP iframe when using --site-per-process. [Closed; this is stale]

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -48 lines) Patch
M content/browser/frame_host/render_frame_host_manager.cc View 3 chunks +14 lines, -9 lines 1 comment Download
M content/browser/site_per_process_browsertest.cc View 15 chunks +88 lines, -39 lines 3 comments Download

Messages

Total messages: 2 (0 generated)
Charlie Reis
Nasko: I noticed that we were crashing when clicking a link in an OOP iframe ...
6 years, 9 months ago (2014-03-21 23:24:33 UTC) #1
nasko
6 years, 9 months ago (2014-03-22 04:07:16 UTC) #2
Couple of comments, but LGTM.

https://codereview.chromium.org/209153003/diff/1/content/browser/site_per_pro...
File content/browser/site_per_process_browsertest.cc (right):

https://codereview.chromium.org/209153003/diff/1/content/browser/site_per_pro...
content/browser/site_per_process_browsertest.cc:197: void
NavigateFrameToURL(WebContents* web_contents,
On 2014/03/21 23:24:33, Charlie Reis wrote:
> This should make iframe tests a bit easier to write, since we don't need to
> worry about cross-origin access in the script call.
> 
> I'm also hoping to use it to write a nested iframe test, but I haven't figured
> out how to get the test to wait for the right events yet.

Wouldn't WCO::DidNavigateAnyFrame help us here? We just need one of the *Watcher
type objects.

Also, wouldn't be better to have those methods in
content/test/content_browser_test_utils.*?

Powered by Google App Engine
This is Rietveld 408576698