Opened 7 years ago

Closed 10 months ago

#10575 closed defect (duplicate)

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 (4)

comment:1 Changed 7 years ago by cypherpunks

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

comment:2 Changed 6 years ago by erinn

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

comment:3 Changed 3 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:4 Changed 10 months ago by gk

Resolution: duplicate
Status: newclosed

That will be handled by #28745.

Note: See TracTickets for help on using tickets.