blob: 8aff7462bbbd30ffd9fcd7cb59d73d70f09e4248 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
function run_test() {
do_get_profile();
run_test_in_child("../unit/test_cache-entry-id.js");
do_await_remote_message("flush").then(() => {
let p = new Promise(resolve => {
Services.cache2.QueryInterface(Ci.nsICacheTesting).flush(resolve);
});
p.then(() => {
do_send_remote_message("flushed");
});
});
}
|