Skip to content

Commit e6fa594

Browse files
committed
Fix cachecontents test on HTTP pages
1 parent 4f66e0d commit e6fa594

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lighthouse-core/driver/gatherers/cache-contents.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ function getCacheContents() {
4242
// __returnResults is magically inserted by driver.evaluateAsync
4343
__returnResults(requests);
4444
});
45+
}).catch(_ => {
46+
__returnResults(undefined);
4547
});
4648
}
4749

0 commit comments

Comments
 (0)