[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-78.6.0esr-10.5-1] fixup! Bug 12620: TorBrowser regression tests



commit fb5020a53fdf0c63533c4f7dc9697745f7c31163
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
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"),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits