Fix offline resource loader for serviceworker (#73416)

This commit is contained in:
Ferhat
2021-01-06 10:47:20 -08:00
committed by GitHub
parent 89acdb030c
commit 161dde55c9

View File

@@ -616,7 +616,7 @@ async function downloadOffline() {
}
currentContent[key] = true;
}
for (var resourceKey in Object.keys(RESOURCES)) {
for (var resourceKey of Object.keys(RESOURCES)) {
if (!currentContent[resourceKey]) {
resources.push(resourceKey);
}