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

Side by Side Diff: chrome/browser/resources/net_internals/hsts_view.js

Issue 2535573002: Reduce usage of webkit CSS prefixes in chrome/browser/resources (Closed)
Patch Set: rebase Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * HSTS is HTTPS Strict Transport Security: a way for sites to elect to always 6 * HSTS is HTTPS Strict Transport Security: a way for sites to elect to always
7 * use HTTPS. See http://dev.chromium.org/sts 7 * use HTTPS. See http://dev.chromium.org/sts
8 * 8 *
9 * This UI allows a user to query and update the browser's list of HSTS domains. 9 * This UI allows a user to query and update the browser's list of HSTS domains.
10 * It also allows users to query and update the browser's list of public key 10 * It also allows users to query and update the browser's list of public key
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 if (m == 0) { 179 if (m == 0) {
180 return 'STRICT'; 180 return 'STRICT';
181 } else if (m == 1) { 181 } else if (m == 1) {
182 return 'OPPORTUNISTIC'; 182 return 'OPPORTUNISTIC';
183 } else { 183 } else {
184 return 'UNKNOWN'; 184 return 'UNKNOWN';
185 } 185 }
186 } 186 }
187 187
188 function yellowFade(element) { 188 function yellowFade(element) {
189 element.style.webkitTransitionProperty = 'background-color'; 189 element.style.transitionProperty = 'background-color';
190 element.style.webkitTransitionDuration = '0'; 190 element.style.transitionDuration = '0';
191 element.style.backgroundColor = '#fffccf'; 191 element.style.backgroundColor = '#fffccf';
192 setTimeout(function() { 192 setTimeout(function() {
193 element.style.webkitTransitionDuration = '1000ms'; 193 element.style.transitionDuration = '1000ms';
194 element.style.backgroundColor = '#fff'; 194 element.style.backgroundColor = '#fff';
195 }, 0); 195 }, 0);
196 } 196 }
197 197
198 return HSTSView; 198 return HSTSView;
199 })(); 199 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698