[tbb-commits] [tor-browser/tor-browser-85.0b1-10.5-1] fixup! Bug 12620: TorBrowser regression tests

gk at torproject.org gk at torproject.org
Tue Jan 12 08:37:43 UTC 2021


commit 08a6ea642852eba3e4cf460cc0c5371d2a485527
Author: Alex Catarineu <acat at torproject.org>
Date:   Fri Jan 8 16:07:11 2021 +0100

    fixup! Bug 12620: TorBrowser regression tests
---
 run-tbb-tests                    | 1 -
 tbb-tests/browser_tor_bug2950.js | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/run-tbb-tests b/run-tbb-tests
index b12e62d942c9..1566c37c43cb 100755
--- a/run-tbb-tests
+++ b/run-tbb-tests
@@ -55,7 +55,6 @@ echo $'\n''Starting tests'
     --setpref network.file.path_blacklist='' \
     --setpref extensions.torbutton.use_nontor_proxy=true \
     --setpref browser.privatebrowsing.autostart=false \
-    --setpref security.nocertdb=false \
                  "${tests[@]}"
 
 echo "*************************"
diff --git a/tbb-tests/browser_tor_bug2950.js b/tbb-tests/browser_tor_bug2950.js
index add683022d8e..16e41344a3c4 100644
--- a/tbb-tests/browser_tor_bug2950.js
+++ b/tbb-tests/browser_tor_bug2950.js
@@ -15,7 +15,7 @@ let Ci = Components.interfaces;
 
 // __principal(spec)__.
 // Creates a principal instance from a spec
-// (string address such as "http://torproject.org").
+// (string address such as "https://www.torproject.org").
 let principal = spec => Services.scriptSecurityManager.createContentPrincipalFromOrigin(spec);
 
 // __setPermission(spec, key, value)__.
@@ -37,7 +37,7 @@ let fileInProfile = fileName => FileUtils.File(profileDirPath + "/" + fileName);
 
 // ## Now let's run the test.
 
-let SITE = "http://torproject.org",
+let SITE = "https://www.torproject.org",
     KEY = "popup";
 
 let permissionsFile = fileInProfile("permissions.sqlite"),





More information about the tbb-commits mailing list