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

Unified Diff: content/public/browser/site_instance.h

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Fix tests with about::blank Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/site_instance.h
diff --git a/content/public/browser/site_instance.h b/content/public/browser/site_instance.h
index 2d1a9a3dbca452b0964bcfe8c70225192839f595..fd290c4d6aa52c9825fa41a3a863ad0469fb68ac 100644
--- a/content/public/browser/site_instance.h
+++ b/content/public/browser/site_instance.h
@@ -159,8 +159,9 @@ class CONTENT_EXPORT SiteInstance : public base::RefCounted<SiteInstance> {
// the same process if they can communicate with other via JavaScript.
// (e.g., docs.google.com and mail.google.com have DOM access to each other
// if they both set their document.domain properties to google.com.)
- // Note that if the destination is a blank page, we consider that to be part
- // of the same web site for the purposes for process assignment.
+ // Note that if the destination is about:blank or about:srcdoc, we consider
Charlie Reis 2016/11/22 01:01:20 Let's leave this out.
arthursonzogni 2016/11/22 16:43:27 Done.
+ // that to be part of the same web site for the purposes for process
+ // assignment.
static bool IsSameWebSite(content::BrowserContext* browser_context,
const GURL& src_url,
const GURL& dest_url);

Powered by Google App Engine
This is Rietveld 408576698