Skip to content

Commit

Permalink
Reverse var to let change (#541)
Browse files Browse the repository at this point in the history
* Reverse var to let change

* Review feedback

Co-authored-by: Rob Wu <rob@robwu.nl>

---------

Co-authored-by: Rob Wu <rob@robwu.nl>
  • Loading branch information
rebloor and Rob--W committed Oct 2, 2023
1 parent 6392240 commit 709bc28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion root-cert-stats/background.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"use strict";

let rootCertStats = {};
// Note: declared with "var" because popup.js references this global variable.
// If this were to be declared with "const" or "let", then the variable would
// still be available to this file, but not to popup.js.
var rootCertStats = {};

/*
On an onHeadersReceived event, if there was a successful TLS connection
Expand Down

0 comments on commit 709bc28

Please sign in to comment.