[tor-bugs] #13550 [EFF-HTTPS Everywhere]: 'TypeError: counterItem is null' if no HTTPS-Everyhwere button is in the toolbar

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 23 14:15:17 UTC 2014


#13550: 'TypeError: counterItem is null' if no HTTPS-Everyhwere button is in the
toolbar
----------------------------------+----------------------
 Reporter:  gk                    |          Owner:  zyan
     Type:  defect                |         Status:  new
 Priority:  minor                 |      Milestone:
Component:  EFF-HTTPS Everywhere  |        Version:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+----------------------
 I get the exception mentioned in the summary when starting Tor Browser 4
 (which does not have the HTTPS-Everyhwere toolbar button on the toolbar
 anymore). The offending line in question is:
 {{{
     counterItem.setAttribute('checked', showCounter ? 'true' : 'false');
 }}}
 Should be a matter of a try-catch that is missing here I guess as HTTPS-
 Everywhere is still working as expected.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13550>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list