Bug 1835983 - Update tests in toolkit/components/ to work with https-first enabled r=freddyb

Differential Revision: https://phabricator.services.mozilla.com/D204662
This commit is contained in:
Malte Juergens 2024-04-24 11:12:51 +00:00
parent 2a727845e2
commit c3f5d1d904
3 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ function GetTestWebBasedURL(fileName) {
return (
getRootDirectory(gTestPath).replace(
"chrome://mochitests/content",
"http://example.org"
"https://example.org"
) + fileName
);
}
@ -372,7 +372,7 @@ add_task(async function test_tracker_power() {
[
GetTestWebBasedURL("dummy.html").replace(
"example.org",
"trackertest.org"
"itisatracker.org"
),
],
async frameUrl => {

View File

@ -5,7 +5,7 @@
const TEST_PATH = getRootDirectory(gTestPath).replace(
"chrome://mochitests/content",
"http://example.com"
"https://example.com"
);
add_task(async function test_readerModeURLDrag() {

View File

@ -5,7 +5,7 @@
const TEST_PATH = getRootDirectory(gTestPath).replace(
"chrome://mochitests/content",
"http://example.com"
"https://example.com"
);
const TEST_URL = TEST_PATH + "readerModeArticle.html";