Opened 5 years ago

Closed 5 years ago

#13682 closed task (fixed)

Write test for security slider

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Keywords: tbb-testcase, TorBrowserTeam201412
Cc: Actual Points:
Parent ID: #9387 Points:
Reviewer: Sponsor:

Description

We should write a good test that checks whether the mapping between preferences and security levels works as expected.

Child Tickets

Change History (2)

comment:1 Changed 5 years ago by gk

Owner: changed from cypherpunks to tbb-team
Status: newassigned

comment:2 Changed 5 years ago by boklm

Keywords: TorBrowserTeam201412 added
Resolution: fixed
Status: assignedclosed

I added some tests to check that the mapping works in the different levels:
https://gitweb.torproject.org/boklm/tor-browser-bundle-testsuite.git/commit/?id=7b6192a583c7a7b470a1ee79e544d9308dc3df10

The test file slider_settings.js contains the expected settings for the different levels, copy pasted from torbutton/src/chrome/content/torbutton.js, so it will need to be updated if they are changed in torbutton.

Note: See TracTickets for help on using tickets.