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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp

Issue 1060723002: Replace secure origin warning shortlink with an HTTPS shortlink to an HTTPS URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change link format as discussed. Created 5 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
« no previous file with comments | « Source/modules/geolocation/Geolocation.h ('k') | Source/platform/weborigin/SecurityOrigin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp b/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
index 84e09f5270fffef79f3712c482de79c3da663a90..748016a3e339dd7a936d0ed57d70f0461133b72d 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
@@ -1,3 +1,4 @@
+
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -220,7 +221,7 @@ TEST_F(ServiceWorkerContainerTest, Register_NonSecureOriginIsRejected)
testRegisterRejected(
"http://www.example.com/worker.js",
"http://www.example.com/",
- ExpectDOMException("NotSupportedError", "Only secure origins are allowed. http://goo.gl/lq4gCo"));
+ ExpectDOMException("NotSupportedError", "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."));
}
TEST_F(ServiceWorkerContainerTest, Register_CrossOriginScriptIsRejected)
@@ -246,7 +247,7 @@ TEST_F(ServiceWorkerContainerTest, GetRegistration_NonSecureOriginIsRejected)
setPageURL("http://www.example.com/");
testGetRegistrationRejected(
"http://www.example.com/",
- ExpectDOMException("NotSupportedError", "Only secure origins are allowed. http://goo.gl/lq4gCo"));
+ ExpectDOMException("NotSupportedError", "Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."));
}
TEST_F(ServiceWorkerContainerTest, GetRegistration_CrossOriginURLIsRejected)
« no previous file with comments | « Source/modules/geolocation/Geolocation.h ('k') | Source/platform/weborigin/SecurityOrigin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698