return {
remoteClients,
async cleanup() {
await removeMocks();
await waitForCondition(
() => EngineProcess.areAllEnginesTerminated(), "Waiting for all of the engines to be terminated.", 100, 200
);
},
};
}
async function runInferenceProcess(remoteClients) {
info("Building the egnine process");
// Start the tab at a blank page.
let tab = await BrowserTestUtils.openNewForegroundTab(
gBrowser,
BLANK_PAGE, true// waitForLoad
);
// Now load the about:inference page, since the actor could be mocked. if (prefs) {
info("Loading about:inference with prefs:"); for (const [key, value] of prefs) {
info(` "${key}": ${value}`);
}
} else {
info("Loading about:inference with default prefs.");
}
BrowserTestUtils.startLoadingURIString(tab.linkedBrowser, "about:inference");
await BrowserTestUtils.browserLoaded(tab.linkedBrowser);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.