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";
add_setup(async function () {
await SearchTestUtils.useTestEngines("data", null);
await AddonTestUtils.promiseStartupManager();
});
add_task(async function test_resultDomain() {
await Services.search.init();
let engine = Services.search.getEngineByName("Test search engine");
Assert.equal(engine.searchUrlDomain, "www.google.com");
});