Reverse var to let change (#541)

* Reverse var to let change

* Review feedback

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

---------

Co-authored-by: Rob Wu <rob@robwu.nl>
This commit is contained in:
rebloor
2023-10-02 13:46:01 +13:00
committed by GitHub
parent 6392240f0f
commit 709bc28a6c

View File

@@ -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