[tor-bugs] #10575 [TorBrowserButton]: `open` called in potentially dangerous manner

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 7 02:43:46 UTC 2014


#10575: `open` called in potentially dangerous manner
------------------------------+---------------------------
 Reporter:  cypherpunks       |          Owner:  mikeperry
     Type:  defect            |         Status:  new
 Priority:  normal            |      Milestone:
Component:  TorBrowserButton  |        Version:
 Keywords:                    |  Actual Points:
Parent ID:                    |         Points:
------------------------------+---------------------------
 Warning: Synchronous HTTP requests can cause serious UI performance
 problems, especially to users with slow network connections.

 chrome/content/torbutton.js
 {{{
 var url = m_tb_prefs.getCharPref("extensions.torbutton.versioncheck_url");
 req.open('GET', url, false);
 req.overrideMimeType("text/json");
 }}}

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


More information about the tor-bugs mailing list