Bug 1002724 - use resolvable URL in extension html_detail_view test. r=mstriemer

Differential Revision: https://phabricator.services.mozilla.com/D75088
This commit is contained in:
Sid Stamm 2020-05-18 12:42:21 +00:00
Родитель e7a750541a
Коммит aa2df3c53f
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -144,7 +144,7 @@ add_task(async function enableHtmlViews() {
description: "Short description",
fullDescription: "Longer description\nWith brs!",
type: "extension",
contributionURL: "http://localhost/contribute",
contributionURL: "http://example.com/contribute",
averageRating: 4.279,
userPermissions: {
origins: ["<all_urls>", "file://*/*"],
@ -481,7 +481,7 @@ add_task(async function testFullDetails() {
let waitForTab = BrowserTestUtils.waitForNewTab(
gBrowser,
"http://localhost/contribute"
"http://example.com/contribute"
);
contrib.querySelector("button").click();
BrowserTestUtils.removeTab(await waitForTab);