mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
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:
parent
2a727845e2
commit
c3f5d1d904
@ -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 => {
|
||||
|
@ -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() {
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user