From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- netwerk/test/unit_ipc/test_cache-entry-id_wrap.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 netwerk/test/unit_ipc/test_cache-entry-id_wrap.js (limited to 'netwerk/test/unit_ipc/test_cache-entry-id_wrap.js') diff --git a/netwerk/test/unit_ipc/test_cache-entry-id_wrap.js b/netwerk/test/unit_ipc/test_cache-entry-id_wrap.js new file mode 100644 index 0000000000..0358fc1e8d --- /dev/null +++ b/netwerk/test/unit_ipc/test_cache-entry-id_wrap.js @@ -0,0 +1,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"); + }); + }); +} -- cgit v1.2.3