Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

/* Any copyright is dedicated to the Public Domain.
"use strict";
const test = new SearchConfigTest({
identifier: "amazon",
default: {
// Not default anywhere.
},
available: {
included: [
{
// The main regions we ship Amazon to. Below this are special cases.
regions: ["us", "jp"],
},
],
},
details: [
{
domain: "amazon.co.jp",
telemetryId: "amazon-jp",
aliases: ["@amazon"],
included: [
{
regions: ["jp"],
},
],
searchUrlCode: "tag=mozillajapan-fx-22",
noSuggestionsURL: true,
},
{
domain: "amazon.com",
telemetryId: "amazondotcom-us-adm",
aliases: ["@amazon"],
included: [
{
regions: ["us"],
},
],
noSuggestionsURL: true,
searchUrlCode: "tag=admarketus-20",
},
],
});
add_setup(async function () {
await test.setup();
});
add_task(async function test_searchConfig_amazon() {
await test.run();
});