Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/quota/test/xpcshell/xpcshell.toml
/**
* Any copyright is dedicated to the Public Domain.
*/
const { TestUtils } = ChromeUtils.importESModule(
);
/* exported testSteps */
async function testSteps() {
info("Sending fake 'idle-daily' notification to QuotaManager");
let observer = Services.qms.QueryInterface(Ci.nsIObserver);
observer.observe(null, "idle-daily", "");
info("Waiting for maintenance to start");
await TestUtils.topicObserved("QuotaManager::MaintenanceStarted");
}