summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit_ipc/test_cache-entry-id_wrap.js
blob: 0358fc1e8dea2847965550626551f88124e184cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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");
    });
  });
}