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

Unified Diff: chrome/browser/resources/ssl/interstitial_v2.js

Issue 341653006: Add experimental versions of the SSL interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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: chrome/browser/resources/ssl/interstitial_v2.js
diff --git a/chrome/browser/resources/ssl/interstitial_v2.js b/chrome/browser/resources/ssl/interstitial_v2.js
index a70b7bda9c20a648d5ddf18df24db8db577b0242..fd13e9ffc4be523713f9db86fa944e51684d6c80 100644
--- a/chrome/browser/resources/ssl/interstitial_v2.js
+++ b/chrome/browser/resources/ssl/interstitial_v2.js
@@ -11,10 +11,12 @@ function setupEvents() {
var overridable = loadTimeData.getBoolean('overridable');
var ssl = loadTimeData.getBoolean('ssl');
- if (ssl)
+ if (ssl) {
$('body').classList.add('ssl');
- else
+ setupSSLFinchTrial();
Dan Beam 2014/06/20 21:28:20 setupSSLFinchTrial(); /* From ssl_errors_common.j
felt 2014/06/21 00:23:15 Done.
+ } else {
$('body').classList.add('safe-browsing');
+ }
$('primary-button').addEventListener('click', function() {
if (!ssl)

Powered by Google App Engine
This is Rietveld 408576698