Opened 6 years ago

Last modified 2 years ago

#10575 new defect

Unused code confuses validator

Reported by: cypherpunks Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-torbutton
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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");

Child Tickets

Change History (3)

comment:1 Changed 6 years ago by cypherpunks

Summary: `open` called in potentially dangerous mannerUnused code confuses validator

comment:2 Changed 5 years ago by erinn

Component: TorBrowserButtonTor Browser
Keywords: tbb-torbutton added
Owner: changed from mikeperry to tbb-team

comment:3 Changed 2 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

Note: See TracTickets for help on using tickets.