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

Unified Diff: chrome/common/secure_origin_whitelist_unittest.cc

Issue 1124173007: Fix typo in --unsafely-treat-insecure-origin-as-secure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « chrome/common/secure_origin_whitelist.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/secure_origin_whitelist_unittest.cc
diff --git a/chrome/common/secure_origin_whitelist_unittest.cc b/chrome/common/secure_origin_whitelist_unittest.cc
index b685711550048202263efb5bd4c535428daa2d6c..65865ef6dfa83d4ead2cb44687a677acf9a9bcf5 100644
--- a/chrome/common/secure_origin_whitelist_unittest.cc
+++ b/chrome/common/secure_origin_whitelist_unittest.cc
@@ -12,7 +12,7 @@ using content::IsOriginSecure;
namespace chrome {
-TEST(SecureOriginWhiteList, UnsafetyTreatInsecureOriginAsSecure) {
+TEST(SecureOriginWhiteList, UnsafelyTreatInsecureOriginAsSecure) {
EXPECT_FALSE(content::IsOriginSecure(GURL("http://example.com/a.html")));
EXPECT_FALSE(
content::IsOriginSecure(GURL("http://127.example.com/a.html")));
@@ -23,7 +23,7 @@ TEST(SecureOriginWhiteList, UnsafetyTreatInsecureOriginAsSecure) {
// ChromeContentClient::AddSecureSchemesAndOrigins)
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitchASCII(
- switches::kUnsafetyTreatInsecureOriginAsSecure,
+ switches::kUnsafelyTreatInsecureOriginAsSecure,
"http://example.com,http://127.example.com");
command_line->AppendSwitch(switches::kUserDataDir);
content::ResetSecureSchemesAndOriginsForTesting();
« no previous file with comments | « chrome/common/secure_origin_whitelist.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698