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

Unified Diff: third_party/WebKit/Source/platform/weborigin/KURL.cpp

Issue 2332263002: Updated suborigin serialization to latest spec proposal (Closed)
Patch Set: Actually disable test Created 4 years, 3 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: third_party/WebKit/Source/platform/weborigin/KURL.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/KURL.cpp b/third_party/WebKit/Source/platform/weborigin/KURL.cpp
index f87bd794ed8d2e4305ab4608250d6b1b7468677c..72f94e8b80496f66c97b8305b05d0a36186e0695 100644
--- a/third_party/WebKit/Source/platform/weborigin/KURL.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/KURL.cpp
@@ -827,6 +827,10 @@ bool checkIfProtocolIsInHTTPFamily(const url::Component& scheme, const CHAR* spe
return internalProtocolIs(scheme, spec, "http");
if (scheme.len == 5)
return internalProtocolIs(scheme, spec, "https");
+ if (scheme.len == 7)
+ return internalProtocolIs(scheme, spec, "http-so");
+ if (scheme.len == 8)
+ return internalProtocolIs(scheme, spec, "https-so");
return false;
}

Powered by Google App Engine
This is Rietveld 408576698