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

Unified Diff: content/browser/child_process_security_policy_unittest.cc

Issue 2332263002: Updated suborigin serialization to latest spec proposal (Closed)
Patch Set: 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: content/browser/child_process_security_policy_unittest.cc
diff --git a/content/browser/child_process_security_policy_unittest.cc b/content/browser/child_process_security_policy_unittest.cc
index 24aa45bc21f050f00bea4642e7f5fe50674589a6..0b49f1250a43888a9ff73cf3b78d7e3612f43c34 100644
--- a/content/browser/child_process_security_policy_unittest.cc
+++ b/content/browser/child_process_security_policy_unittest.cc
@@ -120,7 +120,9 @@ TEST_F(ChildProcessSecurityPolicyTest, IsWebSafeSchemeTest) {
ChildProcessSecurityPolicyImpl::GetInstance();
EXPECT_TRUE(p->IsWebSafeScheme(url::kHttpScheme));
+ EXPECT_TRUE(p->IsWebSafeScheme(url::kHttpSecureScheme));
Mike West 2016/09/13 18:00:18 s/SecureScheme/SuboriginScheme/?
jww 2016/09/13 18:36:04 Yikes. I thought I complied this test, but I guess
EXPECT_TRUE(p->IsWebSafeScheme(url::kHttpsScheme));
+ EXPECT_TRUE(p->IsWebSafeScheme(url::kHttpsSecureScheme));
Mike West 2016/09/13 18:00:18 Ditto.
jww 2016/09/13 18:36:04 Done.
EXPECT_TRUE(p->IsWebSafeScheme(url::kFtpScheme));
EXPECT_TRUE(p->IsWebSafeScheme(url::kDataScheme));
EXPECT_TRUE(p->IsWebSafeScheme("feed"));

Powered by Google App Engine
This is Rietveld 408576698