Bug 1732283: Update tests within devtools/client/jsonview/test/ to work with https-first enabled r=jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D126765
This commit is contained in:
Christoph Kerschbaumer 2021-09-28 15:16:04 +00:00
Родитель 5a909d0756
Коммит 5061438076
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -3,7 +3,7 @@
"use strict";
const TEST_JSON_URL = URL_ROOT + "chunked_json.sjs";
const TEST_JSON_URL = URL_ROOT_SSL + "chunked_json.sjs";
add_task(async function() {
info("Test chunked JSON started");

Просмотреть файл

@ -3,9 +3,9 @@
"use strict";
const TEST_JSON_URL = URL_ROOT + "valid_json.json";
const EMPTY_PAGE = URL_ROOT + "empty.html";
const SW = URL_ROOT + "passthrough-sw.js";
const TEST_JSON_URL = URL_ROOT_SSL + "valid_json.json";
const EMPTY_PAGE = URL_ROOT_SSL + "empty.html";
const SW = URL_ROOT_SSL + "passthrough-sw.js";
add_task(async function() {
info("Test valid JSON with service worker started");

Просмотреть файл

@ -8,7 +8,7 @@ const { ELLIPSIS } = require("devtools/shared/l10n");
add_task(async function() {
info("Test short URL linkification JSON started");
const url = "http://example.com/";
const url = "https://example.com/";
const tab = await addJsonViewTab(
"data:application/json," + JSON.stringify([url])
);
@ -27,7 +27,7 @@ add_task(async function() {
add_task(async function() {
info("Test long URL linkification JSON started");
const url = "http://example.com/" + "a".repeat(100);
const url = "https://example.com/" + "a".repeat(100);
const tab = await addJsonViewTab(
"data:application/json," + JSON.stringify([url])
);