Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android' OR appname == 'thunderbird' OR asan OR tsan OR debug OR os == 'win' && ccov
- Manifest: toolkit/components/search/tests/xpcshell/searchconfigs/xpcshell.toml
/* 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();
});