Revision control

Copy as Markdown

Other Tools

/**
* This test checks for the URL of the developer tools toolbox. If it fails,
* then the code for opening the toolbox has likely changed, and the code in
* MailGlue that observes command-line-startup will not be working properly.
*/
var { MailGlue } = ChromeUtils.importESModule(
);
add_task(async () => {
const expectedURL = `"${MailGlue.BROWSER_TOOLBOX_WINDOW_URL}"`;
const containingFile =
const response = await fetch(containingFile);
const text = await response.text();
Assert.ok(
text.includes(expectedURL),
`Expected to find ${expectedURL} in ${containingFile}.`
);
});