зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1536744 - Fix test_search_suggestions.js - Creating an ftp URL doesn't fail if the ftp protocol handler is disabled r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30711 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d0eb46c5d5
Коммит
89c55d7dfe
|
@ -971,11 +971,16 @@ add_task(async function avoid_http_url_suggestions() {
|
|||
],
|
||||
});
|
||||
|
||||
// This is still a valid ftp URL even if FTP support is disabled.
|
||||
await check_autocomplete({
|
||||
search: "ftp://test",
|
||||
searchParam: "enable-actions",
|
||||
matches: [
|
||||
makeSearchMatch("ftp://test", { engineName: ENGINE_NAME, heuristic: true }),
|
||||
{
|
||||
uri: makeActionURI("visiturl", { url: "ftp://test/", input: "ftp://test" }),
|
||||
style: [ "action", "visiturl", "heuristic" ],
|
||||
title: "ftp://test/",
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче