Skip to content

Commit d476161

Browse files
committed
Fix more bad merge in ssl-observatory.
1 parent a4afd1e commit d476161

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/ssl-observatory.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ function SSLObservatory() {
7777
this.torbutton_installed = false;
7878
}
7979

80+
this.HTTPSEverywhere = CC["@eff.org/https-everywhere;1"]
81+
.getService(Components.interfaces.nsISupports)
82+
.wrappedJSObject;
83+
8084
/* The proxy test result starts out null until the test is attempted.
8185
* This is for UI notification purposes */
8286
this.proxy_test_successful = null;
@@ -1024,8 +1028,8 @@ SSLObservatory.prototype = {
10241028
// dump() prints to browser stdout. That's sometimes undesireable,
10251029
// so only do it when a pref is set (running from test.sh enables
10261030
// this pref).
1027-
if (this.prefs.getBoolPref("log_to_stdout")) {
1028-
dump(prefix + str + "\n");
1031+
if (this.prefs.getBoolPref("extensions.https_everywhere.log_to_stdout")) {
1032+
dump(prefix + str + "\n");
10291033
}
10301034
econsole.logStringMessage(prefix + str);
10311035
}

0 commit comments

Comments
 (0)