Synchronize verified assets incrementally and guard update activation

This commit is contained in:
Jonathan Sykes
2026-10-07 23:40:20 +08:00
parent a1f16f2e3b
commit 54a07a0a2a
15 changed files with 260 additions and 22 deletions

View File

@@ -56,6 +56,7 @@ function loadSw(initialCacheKeys, { fetchImpl } = {}) {
};
const sandbox = {
__ASSET_SYNC__: false,
self: self_,
caches: caches_,
fetch: fetchImpl || (async () => { throw new Error('fetch not mocked'); }),