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

Unified Diff: chrome/browser/resources/net_internals/hsts_view.js

Issue 7739031: More strict mode fixes for HSTS debug UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/hsts_view.js
diff --git a/chrome/browser/resources/net_internals/hsts_view.js b/chrome/browser/resources/net_internals/hsts_view.js
index add363f6dfe79bbb7f5b6562448a3e7fec4e6ae4..bc53a3318c99fdf7480f18608e92caf0ab7a615f 100644
--- a/chrome/browser/resources/net_internals/hsts_view.js
+++ b/chrome/browser/resources/net_internals/hsts_view.js
@@ -88,7 +88,7 @@ var HSTSView = (function() {
onHSTSQueryResult: function(result) {
if (result.error != undefined) {
this.queryOutputDiv_.innerHTML = '';
- s = addNode(this.queryOutputDiv_, 'span');
+ var s = addNode(this.queryOutputDiv_, 'span');
s.textContent = result.error;
s.style.color = 'red';
yellowFade(this.queryOutputDiv_);
@@ -103,10 +103,10 @@ var HSTSView = (function() {
this.queryOutputDiv_.innerHTML = '';
- s = addNode(this.queryOutputDiv_, 'span');
+ var s = addNode(this.queryOutputDiv_, 'span');
s.innerHTML = '<b>Found</b>: mode: ';
- t = addNode(this.queryOutputDiv_, 'tt');
+ var t = addNode(this.queryOutputDiv_, 'tt');
t.textContent = modeToString(result.mode);
addTextNode(this.queryOutputDiv_, ' include_subdomains:');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698