1
0
Fork 0
firefox/netwerk/test/unit_ipc/test_cache-entry-id_wrap.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
340 B
JavaScript

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");
});
});
}