From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- devtools/shared/platform/CacheEntry.sys.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devtools/shared/platform') diff --git a/devtools/shared/platform/CacheEntry.sys.mjs b/devtools/shared/platform/CacheEntry.sys.mjs index 761f0d2946..c417489add 100644 --- a/devtools/shared/platform/CacheEntry.sys.mjs +++ b/devtools/shared/platform/CacheEntry.sys.mjs @@ -98,10 +98,10 @@ export function getResponseCacheObject(request) { "", Ci.nsICacheStorage.OPEN_SECRETLY, { - onCacheEntryCheck: entry => { + onCacheEntryCheck: () => { return Ci.nsICacheEntryOpenCallback.ENTRY_WANTED; }, - onCacheEntryAvailable: (cacheEntry, isnew, status) => { + onCacheEntryAvailable: cacheEntry => { if (cacheEntry) { const cacheObject = buildResponseCacheObject(cacheEntry); resolve(cacheObject); -- cgit v1.2.3