зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5a909d0756
Коммит
5061438076
|
@ -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])
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче