Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test failed 44 times in the preceding 30 days. quicksearch this test
- Manifest: browser/base/content/test/about/browser.toml
/* Any copyright is dedicated to the Public Domain.
"use strict";
add_task(async function test_releaseNotesURL_domain() {
if (!AppConstants.MOZILLA_OFFICIAL) {
todo(false, "app.releaseNotesURL is not set on unofficial builds");
return;
}
const defaultBranch = Services.prefs.getDefaultBranch("");
for (const pref of [
"app.releaseNotesURL",
"app.releaseNotesURL.aboutDialog",
"app.releaseNotesURL.prompt",
]) {
const url = defaultBranch.getCharPref(pref, "");
if (url) {
ok(
`${pref} should point to firefox.com, got: ${url}`
);
}
}
});