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

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

Issue 18554002: Distinguish STS observation times from PKP observation times. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thanks to wtc for a nice loop. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/webui/net_internals/net_internals_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 addTextNode(this.queryOutputDiv_, ' sts_include_subdomains:'); 124 addTextNode(this.queryOutputDiv_, ' sts_include_subdomains:');
125 125
126 t = addNode(this.queryOutputDiv_, 'tt'); 126 t = addNode(this.queryOutputDiv_, 'tt');
127 t.textContent = result.sts_subdomains; 127 t.textContent = result.sts_subdomains;
128 128
129 addTextNode(this.queryOutputDiv_, ' pkp_include_subdomains:'); 129 addTextNode(this.queryOutputDiv_, ' pkp_include_subdomains:');
130 130
131 t = addNode(this.queryOutputDiv_, 'tt'); 131 t = addNode(this.queryOutputDiv_, 'tt');
132 t.textContent = result.pkp_subdomains; 132 t.textContent = result.pkp_subdomains;
133 133
134 addTextNode(this.queryOutputDiv_, ' sts_observed:');
135
136 t = addNode(this.queryOutputDiv_, 'tt');
eroman 2013/12/18 01:21:58 you can combine this with: addNodeWithText(this.q
palmer 2013/12/18 18:15:44 I'll add a TODO(palmer) to do it later in a clean-
137 t.textContent = result.sts_observed;
138
139 addTextNode(this.queryOutputDiv_, ' pkp_observed:');
140
141 t = addNode(this.queryOutputDiv_, 'tt');
142 t.textContent = result.pkp_observed;
143
134 addTextNode(this.queryOutputDiv_, ' domain:'); 144 addTextNode(this.queryOutputDiv_, ' domain:');
135 145
136 t = addNode(this.queryOutputDiv_, 'tt'); 146 t = addNode(this.queryOutputDiv_, 'tt');
137 t.textContent = result.domain; 147 t.textContent = result.domain;
138 148
139 addTextNode(this.queryOutputDiv_, ' pubkey_hashes:'); 149 addTextNode(this.queryOutputDiv_, ' pubkey_hashes:');
140 150
141 t = addNode(this.queryOutputDiv_, 'tt'); 151 t = addNode(this.queryOutputDiv_, 'tt');
142 152
143 // |public_key_hashes| is an old synonym for what is now 153 // |public_key_hashes| is an old synonym for what is now
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 element.style.webkitTransitionDuration = '0'; 195 element.style.webkitTransitionDuration = '0';
186 element.style.backgroundColor = '#fffccf'; 196 element.style.backgroundColor = '#fffccf';
187 setTimeout(function() { 197 setTimeout(function() {
188 element.style.webkitTransitionDuration = '1000ms'; 198 element.style.webkitTransitionDuration = '1000ms';
189 element.style.backgroundColor = '#fff'; 199 element.style.backgroundColor = '#fff';
190 }, 0); 200 }, 0);
191 } 201 }
192 202
193 return HSTSView; 203 return HSTSView;
194 })(); 204 })();
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/net_internals/net_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698