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

Unified Diff: content/common/navigation_params.cc

Issue 2834013002: PlzNavigate: make MHTML iframe load working. (Closed)
Patch Set: Created 3 years, 8 months 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/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index e2148964f89b3e177019e997c16d72147d7d2a82..28b286c2592479319f9e634fd941ff6adc73a6a8 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -23,7 +23,7 @@ bool ShouldMakeNetworkRequestForURL(const GURL& url) {
// Javascript URLs, srcdoc, schemes that don't load data should not send a
// request to the network stack.
if (url.SchemeIs(url::kJavaScriptScheme) || url.is_empty() ||
- url.SchemeIs(url::kContentIDScheme) || url == content::kAboutSrcDocURL) {
nasko 2017/05/03 17:28:39 The comments in this CL say that "cid:" cannot be
arthursonzogni 2017/05/04 14:26:32 You are right, the "cid:" cannot be encountered ou
nasko 2017/05/04 15:48:18 Would the cid: scheme have a valid URL as the rest
arthursonzogni 2017/05/05 09:07:46 It will not have a valid URL as the rest of the st
+ url == content::kAboutSrcDocURL) {
return false;
}
« no previous file with comments | « no previous file | content/common/navigation_params_unittest.cc » ('j') | content/common/navigation_params_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698