Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: toolkit/components/search/tests/xpcshell/xpcshell.toml
/* Any copyright is dedicated to the Public Domain.
/*
* Tests searchUrlDomain API.
*/
"use strict";
const CONFIG = [
{
identifier: "appDefault",
},
},
];
add_setup(async function () {
SearchTestUtils.setRemoteSettingsConfig(CONFIG);
});
add_task(async function test_resultDomain() {
await Services.search.init();
let engine = Services.search.getEngineById("appDefault");
Assert.equal(engine.searchUrlDomain, "www.example.com");
});